{
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;
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;
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) {