fprintf(stderr,"Child process pid=%d of checker (that issues read/write syscalls to the driver) got killed after TIMEOUT=%ds\n",getpid(),GENERIC_TEST_TIMEOUT);
fprintf(stderr,"\tThis might be because you didn't implement read/write or there is a bug in the implementation\n");
exit(EXIT_FAILURE);
}
/*
* if the test passes it will return 0
* if it fails it returns the number of points given as argument
...
...
@@ -328,8 +338,10 @@ copy_file(int fdr, int fdw, int len)