Lines Matching defs:file

15  * otherwise, applies only to this software file.  Patent licenses, if
49 * - added option to create a command file with all failed tests.
103 static char *slurp(char *file);
104 static struct collection *get_collection(char *file, int optind, int argc,
143 #define Dbuffile 0x000400 /* buffer file use */
156 char *zooname = NULL; /* name of the zoo file to use */
207 case 'a': /* name of the zoo file to use */
210 case 'C': /* name of the file where all failed commands will be */
219 * in this file
236 "[ -a active-file ] [ -f command-file ] "
237 "[ -C fail-command-file ] "
238 "[ -d debug-level ]\n\t[-o output-file] "
241 case 'l': /* log file */
341 "pan(%s): Error %s (%d) opening log file '%s'\n",
370 "pan(%s): Must supply a file collection or a command\n",
448 "pan(%s): Error %s (%d) opening output file '%s'\n",
458 "pan(%s): Error %s (%d) opening fail cmd file '%s'\n",
469 "tconf cmd file '%s'\n", panname,
485 * this is an "active file cleanliness" thing
910 int capturing = 0; /* output is going to a file instead of stdout */
916 /* Try to open the file that will be stdout for the test */
928 "pan(%s): open of stdout file failed (tag %s). errno: %d %s\n file: %s\n",
990 /* if we're putting output into a buffer file, we need to do the
1150 fprintf(stderr, "with output file = %s\n",
1174 static struct collection *get_collection(char *file, int optind, int argc,
1182 buf = slurp(file);
1274 static char *slurp(char *file)
1280 if ((fd = open(file, O_RDONLY)) < 0) {
1283 panname, file, errno, strerror(errno));
1289 panname, file, errno, strerror(errno));