You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2001/08/01 23:06:26 UTC
cvs commit: apr/test testargs.c testfile.c testlock.c testmmap.c testpipe.c testpoll.c testsockopt.c testtime.c testud.c testuser.c
trawick 01/08/01 14:06:26
Modified: test testargs.c testfile.c testlock.c testmmap.c
testpipe.c testpoll.c testsockopt.c testtime.c
testud.c testuser.c
Log:
change some of the test programs to use exit status 0 for
success
Revision Changes Path
1.23 +1 -1 apr/test/testargs.c
Index: testargs.c
===================================================================
RCS file: /home/cvs/apr/test/testargs.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- testargs.c 2001/06/08 04:49:45 1.22
+++ testargs.c 2001/08/01 21:06:26 1.23
@@ -112,5 +112,5 @@
while (opt->ind < opt->argc)
printf("extra arg: %s\n", opt->argv[opt->ind++]);
- return 1;
+ return 0;
}
1.37 +1 -1 apr/test/testfile.c
Index: testfile.c
===================================================================
RCS file: /home/cvs/apr/test/testfile.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- testfile.c 2001/06/08 04:49:46 1.36
+++ testfile.c 2001/08/01 21:06:26 1.37
@@ -243,7 +243,7 @@
apr_pool_destroy(pool);
printf("\nAll tests passed OK\n");
- return 1;
+ return 0;
}
void test_filedel(apr_pool_t *pool)
1.5 +1 -1 apr/test/testlock.c
Index: testlock.c
===================================================================
RCS file: /home/cvs/apr/test/testlock.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- testlock.c 2001/07/27 05:40:18 1.4
+++ testlock.c 2001/08/01 21:06:26 1.5
@@ -308,7 +308,7 @@
exit(-4);
}
- return 1;
+ return 0;
}
#endif /* !APR_HAS_THREADS */
1.29 +1 -1 apr/test/testmmap.c
Index: testmmap.c
===================================================================
RCS file: /home/cvs/apr/test/testmmap.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- testmmap.c 2001/07/27 07:10:07 1.28
+++ testmmap.c 2001/08/01 21:06:26 1.29
@@ -142,7 +142,7 @@
fprintf (stdout,"\nTest Complete\n");
- return 1;
+ return 0;
#else
fprintf(stdout,"APR MMAP Test\n*************\n\n");
fprintf(stdout,"Failed! APR was not built with MMAP.\n");
1.17 +1 -1 apr/test/testpipe.c
Index: testpipe.c
===================================================================
RCS file: /home/cvs/apr/test/testpipe.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- testpipe.c 2001/06/08 04:49:48 1.16
+++ testpipe.c 2001/08/01 21:06:26 1.17
@@ -114,5 +114,5 @@
exit(-1);
}
- return 1;
+ return 0;
}
1.6 +1 -1 apr/test/testpoll.c
Index: testpoll.c
===================================================================
RCS file: /home/cvs/apr/test/testpoll.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- testpoll.c 2001/07/18 16:51:49 1.5
+++ testpoll.c 2001/08/01 21:06:26 1.6
@@ -220,5 +220,5 @@
}
}
printf ("OK\n");
- return 1;
+ return 0;
}
1.9 +1 -1 apr/test/testsockopt.c
Index: testsockopt.c
===================================================================
RCS file: /home/cvs/apr/test/testsockopt.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- testsockopt.c 2001/07/18 16:51:49 1.8
+++ testsockopt.c 2001/08/01 21:06:26 1.9
@@ -216,5 +216,5 @@
}
printf("OK\n");
- return 1;
+ return 0;
}
1.25 +1 -1 apr/test/testtime.c
Index: testtime.c
===================================================================
RCS file: /home/cvs/apr/test/testtime.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- testtime.c 2001/06/30 12:02:38 1.24
+++ testtime.c 2001/08/01 21:06:26 1.25
@@ -179,6 +179,6 @@
printf(" ( %lld - %lld = %lld )\n", imp, now, imp - now);
printf("\nTest Complete.\n");
- return 1;
+ return 0;
}
1.2 +1 -1 apr/test/testud.c
Index: testud.c
===================================================================
RCS file: /home/cvs/apr/test/testud.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- testud.c 2001/07/07 13:03:46 1.1
+++ testud.c 2001/08/01 21:06:26 1.2
@@ -106,5 +106,5 @@
0, "OK","Failed :(")
printf("\nTest complete\n");
- return 1;
+ return 0;
}
1.3 +1 -1 apr/test/testuser.c
Index: testuser.c
===================================================================
RCS file: /home/cvs/apr/test/testuser.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testuser.c 2001/07/27 07:10:07 1.2
+++ testuser.c 2001/08/01 21:06:26 1.3
@@ -135,6 +135,6 @@
printf("home directory for %s (member of %s) is:\n`%s'\n",
username, groupname, homedir);
- return 1;
+ return 0;
}
#endif /* APR_HAS_USER */