diff options
Diffstat (limited to 'src/runtime/vdso_test.go')
| -rw-r--r-- | src/runtime/vdso_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/vdso_test.go b/src/runtime/vdso_test.go index 61f651614b..126fd8d199 100644 --- a/src/runtime/vdso_test.go +++ b/src/runtime/vdso_test.go @@ -47,8 +47,8 @@ func TestUsingVDSO(t *testing.T) { t.Skipf("skipping because Executable failed: %v", err) } - t.Logf("GO_WANT_HELPER_PROCESS=1 %s -f -e clock_gettime %s -test.run=TestUsingVDSO", strace, exe) - cmd := testenv.Command(t, strace, "-f", "-e", "clock_gettime", exe, "-test.run=TestUsingVDSO") + t.Logf("GO_WANT_HELPER_PROCESS=1 %s -f -e clock_gettime %s -test.run=^TestUsingVDSO$", strace, exe) + cmd := testenv.Command(t, strace, "-f", "-e", "clock_gettime", exe, "-test.run=^TestUsingVDSO$") cmd = testenv.CleanCmdEnv(cmd) cmd.Env = append(cmd.Env, "GO_WANT_HELPER_PROCESS=1") out, err := cmd.CombinedOutput() |
