Module Name: src
Committed By: pooka
Date: Thu Jun 17 09:37:50 UTC 2010
Modified Files:
src/tests/lib/semaphore: sem.c
Log Message:
* remove pasto
* set short timeout for the blockwait test
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/semaphore/sem.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/semaphore/sem.c
diff -u src/tests/lib/semaphore/sem.c:1.4 src/tests/lib/semaphore/sem.c:1.5
--- src/tests/lib/semaphore/sem.c:1.4 Wed Jun 16 15:39:41 2010
+++ src/tests/lib/semaphore/sem.c Thu Jun 17 09:37:50 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: sem.c,v 1.4 2010/06/16 15:39:41 pooka Exp $ */
+/* $NetBSD: sem.c,v 1.5 2010/06/17 09:37:50 pooka Exp $ */
/*
* Common code for semaphore tests. This can be included both into
@@ -167,6 +167,7 @@
atf_tc_set_md_var(tc, "descr", "tests sem_wait can handle blocking "
"(%s)", LIBNAME);
+ atf_tc_set_md_var(tc, "timeout", "2");
}
ATF_TC_BODY(blockwait, tc)
@@ -193,8 +194,6 @@
sem_post(&semmarit[1]);
}
- if (i == 1000)
- atf_tc_fail("sem destroy not reporting EBUSY");
}
ATF_TC(named);