This directory has been moved to vsys-scripts.
[vsys.git] / tests / vsys_conctest.c
index 5c751a7..daca830 100644 (file)
@@ -11,8 +11,8 @@ int main()
 {
   FILE *fp = NULL, *fp_in = NULL;
   FILE *out_fp = NULL, *diff_fp = NULL;
-  const char* topcmd = "fe/test.out";
-  const char* top_in_file = "fe/test.in";
+  const char* topcmd = "frontend/test.out";
+  const char* top_in_file = "frontend/test.in";
   char buf[4096];
   int fd_in = -1, fd_out;
   int res;
@@ -20,7 +20,7 @@ int main()
   int count = 1;
   struct timeval tv={.tv_sec=5,.tv_usec=0};
 
-  while (count < 100000) {
+  while (count < 1000000) {
     fd_set readSet;
     int res;
     int nlines=0;
@@ -37,7 +37,6 @@ int main()
       fprintf(stderr, "Waiting for %s (%s)\n", top_in_file,strerror(errno));
        usleep (50); 
     }
-    printf("%d open\n",fd_in);
 
     //printf("(1)");
     if ((flag = fcntl(fd_out, F_GETFL)) == -1) {