chiark / gitweb /
lib/ tests now use Automake's test infrastructure, and are split into
[disorder] / lib / t-syscalls.c
index 0566fdea4219fe7178e4551ebc9f627b9bf4cde6..a4ab19bdeabbf78b41554f0a5aa624e812d39e3c 100644 (file)
  */
 #include "test.h"
 
-void test_syscalls(void) {
+static void test_syscalls(void) {
   int p[2];
   char buf[128], *e;
   long n;
   long long nn;
-  
-  printf("test_syscalls\n");
 
   xpipe(p);
   nonblock(p[1]);
@@ -98,6 +96,8 @@ void test_syscalls(void) {
 #endif
 }
 
+TEST(syscalls);
+
 /*
 Local Variables:
 c-basic-offset:2