Skip to content

Commit

Permalink
use filepath.Join for file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Sep 25, 2024
1 parent 2835116 commit 16eadb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/all_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"fmt"
"os"
"os/exec"
"path"
"filepath"
"runtime"
"strconv"
"strings"
Expand Down Expand Up @@ -164,7 +164,7 @@ var (
)

func runTestOnce(test test, mallocNumToFail int64) (passed bool, err error) {
prog := path.Join(*buildDir, test.Cmd[0])
prog := filepath.Join(*buildDir, test.Cmd[0])
args := append([]string{}, test.Cmd[1:]...)
if *useSDE {
// SDE is neither compatible with the unwind tester nor automatically
Expand Down

0 comments on commit 16eadb7

Please sign in to comment.