Still trying to fix KyoungSoo's bug
[vsys.git] / tests / vsys_conctest.c
index e4b6913..16fd279 100644 (file)
@@ -33,13 +33,11 @@ int main()
       exit(-1);
     }
 
-    printf("Opening...\n");
+//    printf("(opening in file)");
     if ((fd_in = open(top_in_file, O_WRONLY)) < 0) {
       fprintf(stderr, "error opening %s\n", top_in_file);
       exit(-1);
     }
-    printf("Open.\n");
-
     if ((flag = fcntl(fd_out, F_GETFL)) == -1) {
       printf("fcntl get failed\n");
       exit(-1);
@@ -49,10 +47,7 @@ int main()
            FD_ZERO(&readSet);
            FD_SET(fd_out, &readSet);
 
-    printf("Selecting...\n");
-               sleep(1);
            res = select(fd_out + 1, &readSet, NULL, NULL, NULL);
-    printf("Selected...\n");
            if (res < 0) {
                    if (errno == EINTR || errno == EAGAIN) {
                            printf(".");