diff options
Diffstat (limited to 'libgo/go/time/sleep_test.go')
-rw-r--r-- | libgo/go/time/sleep_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/time/sleep_test.go b/libgo/go/time/sleep_test.go index 9b59767..9d16c52 100644 --- a/libgo/go/time/sleep_test.go +++ b/libgo/go/time/sleep_test.go @@ -7,7 +7,6 @@ package time_test import ( "fmt" "os" - "syscall" "testing" "sort" . "time" @@ -17,7 +16,7 @@ func TestSleep(t *testing.T) { const delay = int64(100e6) go func() { Sleep(delay / 2) - syscall.Kill(os.Getpid(), syscall.SIGCHLD) + Interrupt() }() start := Nanoseconds() Sleep(delay) |