apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apr/test testsock.c
Date Sun, 03 Dec 2000 01:52:35 GMT
rbb         00/12/02 17:52:35

  Modified:    test     testsock.c
  Log:
  Ensure that the server process has started before we try to run the client.
  
  Revision  Changes    Path
  1.13      +2 -0      apr/test/testsock.c
  
  Index: testsock.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testsock.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- testsock.c	2000/11/29 00:25:23	1.12
  +++ testsock.c	2000/12/03 01:52:34	1.13
  @@ -108,6 +108,8 @@
       args[1] = NULL; 
       s1 = apr_create_process(&proc1, "./server", args, NULL, attr1, context);
   
  +    /* Sleep for 30 seconds to ensure the server is setup before we begin */
  +    apr_sleep(10000000);
       args[0] = apr_pstrdup(context, "client");
       s2 = apr_create_process(&proc2, "./client", args, NULL, attr2, context);
   
  
  
  

Mime
View raw message