| 339 | } |
| 340 | |
| 341 | static int checkTestFile(const char *filename) { |
| 342 | struct stat buf; |
| 343 | |
| 344 | if (stat(filename, &buf) == -1) |
| 345 | return(0); |
| 346 | |
| 347 | #if defined(_WIN32) |
| 348 | if (!(buf.st_mode & _S_IFREG)) |
| 349 | return(0); |
| 350 | #else |
| 351 | if (!S_ISREG(buf.st_mode)) |
| 352 | return(0); |
| 353 | #endif |
| 354 | |
| 355 | return(1); |
| 356 | } |
| 357 | |
| 358 | static int compareFiles(const char *r1 /* temp */, const char *r2 /* result */) { |
| 359 | int res1, res2, total; |
no test coverage detected