X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fvsys_conctest.c;h=daca83058050f2f91e35bfc1145555dcda0cf4ca;hb=65f0b4dd113321ced69ea976a64f6f06fb4e3660;hp=5c751a7fb1112d57cf73d805bae948b506820bcb;hpb=4333d942b06a2ddad01dd3ff4fdafadff92c7d2d;p=vsys.git diff --git a/tests/vsys_conctest.c b/tests/vsys_conctest.c index 5c751a7..daca830 100644 --- a/tests/vsys_conctest.c +++ b/tests/vsys_conctest.c @@ -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) {