summaryrefslogtreecommitdiff
path: root/tests/exit1.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-02-22 16:51:52 +0000
committerrpj <rpj>1999-02-22 16:51:52 +0000
commit346e0db637f3b0be52e1b7782cffa5ee0f2b09e8 (patch)
treee40318f83f82451a0a93afc6949cec7ef06e02f8 /tests/exit1.c
parent2ef097640758653a0e9d63e90a4aac329cd86368 (diff)
1999-02-23 Ross Johnson <rpj@ise.canberra.edu.au>
* Template.c: Revamp. * condvar1.c: Add. * condvar2.c: Add. * Makefile: Add condvar1 condvar2 tests. * exit1.c, exit2.c, exit3.c: Cosmetic changes.
Diffstat (limited to 'tests/exit1.c')
-rw-r--r--tests/exit1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exit1.c b/tests/exit1.c
index 758852a..251a46c 100644
--- a/tests/exit1.c
+++ b/tests/exit1.c
@@ -4,14 +4,14 @@
* Depends on API functions: None.
*/
-#include <pthread.h>
+#include "test.h"
int
main(int argc, char * argv[])
{
- /* A simple test firstly. */
+ /* A simple test first. */
pthread_exit((void *) 0);
/* Not reached */
- return 1;
+ assert(0);
}