OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update Go library to last weekly.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
time
/
sleep_test.go
diff --git
a/libgo/go/time/sleep_test.go
b/libgo/go/time/sleep_test.go
index
9b59767
..
9d16c52
100644
(file)
--- 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)