commit | 918afd9491bd07aed10bc364012683fc52c734bb | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri May 08 15:21:41 2009 -0700 |
committer | Russ Cox <rsc@golang.org> | Fri May 08 15:21:41 2009 -0700 |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 | |
parent | c367d1b789b0aed59e871aee588d776998a8f479 [diff] [blame] |
move things out of sys into os and runtime R=r OCL=28569 CL=28573
diff --git a/test/chan/fifo.go b/test/chan/fifo.go index ad53ab6..00a297a 100644 --- a/test/chan/fifo.go +++ b/test/chan/fifo.go
@@ -8,6 +8,8 @@ package main +import "os" + const N = 10 func AsynchFifo() { @@ -18,7 +20,7 @@ for i := 0; i < N; i++ { if <-ch != i { print("bad receive\n"); - sys.Exit(1); + os.Exit(1); } } }