summaryrefslogtreecommitdiff
path: root/test/ken
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
commit33e296314d4661aef2d210e1bcdcee15a587bcae (patch)
tree0f3cde94dd6150e701cbaca24b527c5a89e7d321 /test/ken
parent17f04edcae2b83b55573409eeaa9627c46dd1b15 (diff)
downloadgo-33e296314d4661aef2d210e1bcdcee15a587bcae.tar.gz
fix some tests
R=ken OCL=15598 CL=15598
Diffstat (limited to 'test/ken')
-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);
}