diff --git a/misc/cgo/testsanitizers/libfuzzer_test.go b/misc/cgo/testsanitizers/libfuzzer_test.go index 6eebb17abf2..345751b9c76 100644 --- a/misc/cgo/testsanitizers/libfuzzer_test.go +++ b/misc/cgo/testsanitizers/libfuzzer_test.go @@ -60,6 +60,7 @@ func TestLibFuzzer(t *testing.T) { mustRun(t, cmd) cmd = hangProneCmd(outPath) + cmd.Dir = dir.Base() outb, err := cmd.CombinedOutput() out := string(outb) if err == nil {