You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2003/11/11 23:27:07 UTC
cvs commit: apr/test testrand2.c nwgnuaprtest
bnicholes 2003/11/11 14:27:07
Modified: test testrand2.c nwgnuaprtest
Log:
Add the random tests the NetWare build
Revision Changes Path
1.4 +4 -1 apr/test/testrand2.c
Index: testrand2.c
===================================================================
RCS file: /home/cvs/apr/test/testrand2.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- testrand2.c 6 Nov 2003 00:25:33 -0000 1.3
+++ testrand2.c 11 Nov 2003 22:27:07 -0000 1.4
@@ -249,6 +249,7 @@
rand_run_kat(tc,apr_random_secure_bytes,r,expected);
}
+#if APR_HAS_FORK
static void rand_fork(CuTest *tc)
{
apr_proc_t proc;
@@ -314,7 +315,7 @@
return;
}
}
-
+#endif
CuSuite *testrand2(void)
{
@@ -327,7 +328,9 @@
SUITE_ADD_TEST(suite, rand_barrier);
SUITE_ADD_TEST(suite, rand_kat3);
SUITE_ADD_TEST(suite, rand_kat4);
+#if APR_HAS_FORK
SUITE_ADD_TEST(suite, rand_fork);
+#endif
return suite;
}
1.7 +1 -0 apr/test/nwgnuaprtest
Index: nwgnuaprtest
===================================================================
RCS file: /home/cvs/apr/test/nwgnuaprtest,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- nwgnuaprtest 31 Jul 2003 17:45:25 -0000 1.6
+++ nwgnuaprtest 11 Nov 2003 22:27:07 -0000 1.7
@@ -190,6 +190,7 @@
$(OBJDIR)/testproc.o \
$(OBJDIR)/testprocmutex.o \
$(OBJDIR)/testrand.o \
+ $(OBJDIR)/testrand2.o \
$(OBJDIR)/testsleep.o \
$(OBJDIR)/testsockets.o \
$(OBJDIR)/testsockopt.o \