summaryrefslogtreecommitdiff
path: root/test/ken/chan.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-09-20 15:16:48 -0700
committerRob Pike <r@golang.org>2008-09-20 15:16:48 -0700
commit20502f0446f4d186c635570531c779ae6339c42a (patch)
tree0f3cde94dd6150e701cbaca24b527c5a89e7d321 /test/ken/chan.go
parent56a30f38440889ecd408c7ec66fcb1ad90b1852f (diff)
downloadgolang-20502f0446f4d186c635570531c779ae6339c42a.tar.gz
fix some tests
R=ken OCL=15598 CL=15598
Diffstat (limited to 'test/ken/chan.go')
-rw-r--r--test/ken/chan.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ken/chan.go b/test/ken/chan.go
index a3a32fa83..be4fa86c3 100644
--- a/test/ken/chan.go
+++ b/test/ken/chan.go
@@ -262,6 +262,9 @@ main()
tests(10);
tests(100);
- print("tots=", tots, " totr=", totr, "\n");
+ if tots != totr || tots != 3648 {
+ print("tots=", tots, " totr=", totr, "\n");
+ sys.exit(1);
+ }
sys.exit(0);
}