diff --git a/util/all_tests.go b/util/all_tests.go index 23bb8df670..842fc76e8e 100644 --- a/util/all_tests.go +++ b/util/all_tests.go @@ -24,7 +24,7 @@ import ( "fmt" "os" "os/exec" - "path" + "path/filepath" "runtime" "strconv" "strings" @@ -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