apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test test_apr.h testflock.c testpipe.c testoc.c testproc.c
Date Sun, 14 Mar 2004 13:16:06 GMT
rbb         2004/03/14 05:16:06

  Modified:    test     test_apr.h testflock.c testpipe.c testoc.c
                        testproc.c
  Log:
  Remove some common macros to test_apr.h
  
  Revision  Changes    Path
  1.50      +10 -1     apr/test/test_apr.h
  
  Index: test_apr.h
  ===================================================================
  RCS file: /home/cvs/apr/test/test_apr.h,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- test_apr.h	13 Mar 2004 21:41:04 -0000	1.49
  +++ test_apr.h	14 Mar 2004 13:16:06 -0000	1.50
  @@ -19,6 +19,15 @@
   #include "CuTest.h"
   #include "apr_pools.h"
   
  +/* XXX FIXME */
  +#ifdef WIN32
  +#define EXTENSION ".exe"
  +#elif NETWARE
  +#define EXTENSION ".nlm"
  +#else
  +#define EXTENSION
  +#endif
  +
   /* Some simple functions to make the test apps easier to write and
    * a bit more consistent...
    */
  @@ -54,8 +63,8 @@
   CuSuite *testrand2(void);
   CuSuite *testsleep(void);
   CuSuite *testshm(void);
  -CuSuite *testsockopt(void);
   CuSuite *testsockets(void);
  +CuSuite *testsockopt(void);
   CuSuite *teststr(void);
   CuSuite *testtable(void);
   CuSuite *testthread(void);
  
  
  
  1.17      +0 -10     apr/test/testflock.c
  
  Index: testflock.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testflock.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- testflock.c	13 Mar 2004 12:40:33 -0000	1.16
  +++ testflock.c	14 Mar 2004 13:16:06 -0000	1.17
  @@ -22,16 +22,6 @@
   #include "apr_general.h"
   #include "apr_strings.h"
   
  -/* XXX I'm sure there has to be a better way to do this ... */
  -#ifdef WIN32
  -#define EXTENSION ".exe"
  -#elif NETWARE
  -#define EXTENSION ".nlm"
  -#else
  -#define EXTENSION
  -#endif
  -
  -
   static int launch_reader(CuTest *tc)
   {
       apr_proc_t proc = {0};
  
  
  
  1.27      +0 -9      apr/test/testpipe.c
  
  Index: testpipe.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testpipe.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- testpipe.c	13 Feb 2004 09:38:34 -0000	1.26
  +++ testpipe.c	14 Mar 2004 13:16:06 -0000	1.27
  @@ -122,15 +122,6 @@
       CuAssertStrEquals(tc, "this is a test", input);
   }
   
  -/* XXX FIXME */
  -#ifdef WIN32
  -#define EXTENSION ".exe"
  -#elif NETWARE
  -#define EXTENSION ".nlm"
  -#else
  -#define EXTENSION
  -#endif
  -
   static void test_pipe_writefull(CuTest *tc)
   {
       int iterations = 1000;
  
  
  
  1.34      +0 -9      apr/test/testoc.c
  
  Index: testoc.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testoc.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- testoc.c	13 Feb 2004 09:38:34 -0000	1.33
  +++ testoc.c	14 Mar 2004 13:16:06 -0000	1.34
  @@ -22,15 +22,6 @@
   
   #if APR_HAS_OTHER_CHILD
   
  -/* XXX I'm sure there has to be a better way to do this ... */
  -#ifdef WIN32
  -#define EXTENSION ".exe"
  -#elif NETWARE
  -#define EXTENSION ".nlm"
  -#else
  -#define EXTENSION
  -#endif
  -
   static char reasonstr[256];
   
   static void ocmaint(int reason, void *data, int status)
  
  
  
  1.44      +0 -9      apr/test/testproc.c
  
  Index: testproc.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testproc.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- testproc.c	13 Feb 2004 09:38:34 -0000	1.43
  +++ testproc.c	14 Mar 2004 13:16:06 -0000	1.44
  @@ -20,15 +20,6 @@
   #include "apr_strings.h"
   #include "test_apr.h"
   
  -/* XXX I'm sure there has to be a better way to do this ... */
  -#ifdef WIN32
  -#define EXTENSION ".exe"
  -#elif NETWARE
  -#define EXTENSION ".nlm"
  -#else
  -#define EXTENSION
  -#endif
  -
   #define TESTSTR "This is a test"
   
   static apr_proc_t newproc;
  
  
  

Mime
View raw message