Lines Matching refs:printf
157 printf( "stat call on our executable failed - \"%s\" \n", g_cmd_namep );
158 printf( " failed with error %d - \"%s\" \n", err, strerror( err) );
162 printf( "executable file - \"%s\" \n", g_cmd_namep );
163 printf( "does not have correct owner (must be root) or setuid bit is not set \n" );
175 printf( "invalid target parameter \n" );
182 printf( "invalid target path \n" );
184 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
193 printf( "invalid failures parameter \n" );
211 printf( "invalid run tests parameter \n" );
217 printf( "invalid run tests parameter \n" );
237 printf( "invalid argument \"%s\" \n", argv[i] );
277 printf( "Will allow %d failures before testing is aborted \n", g_max_failures );
280 printf("Running under Rosetta.\n");
284 printf( "\nBegin testing - %s \n", ctime_r( &my_start_time, &my_buffer[0] ) );
303 printf( "test #%d - %s \n", (i + 1), my_testp->test_infop );
306 printf("\t--> FAILED \n");
320 printf( "\n too many failures - test aborted \n" );
333 printf( "\nEnd testing - %s \n", ctime_r( &my_end_time, &my_buffer[0] ) );
385 printf( "-run argument has too many test parameters (max of %d characters) \n", sizeof( my_buffer ) );
404 printf( "-run argument has invalid range parmeters \n" );
416 printf( "-run argument has invalid range parmeters \n" );
427 printf( "-run argument has invalid test number parameter \n" );
446 printf( "target path too long - \"%s\" \n", the_targetp );
457 printf( "target path plus our test directory name is too long: \n" );
458 printf( "target path - \"%s\" \n", the_targetp );
459 printf( "test directory name - \"%s\" \n", &my_name[0] );
478 printf( "test directory creation failed - \"%s\" \n", &g_target_path[0] );
479 printf( "mkdir call failed with error %d - \"%s\" \n", errno, strerror( err) );
483 printf( "created test directory at \"%s\" \n", &g_target_path[0] );
493 printf( "\nList of all tests this tool performs... \n" );
496 printf( " %d \t %s \n", (i + 1), g_tests[ i ].test_infop );
526 printf( "\nUSAGE: %s -target TARGET_PATH \n\n", (my_ptr != NULL) ? my_ptr : g_cmd_namep );
527 printf( "\t -f[ailures] MAX_FAILS_ALLOWED # number of test cases that may fail before we give up. defaults to 0 \n" );
528 printf( "\t -l[ist] # list all the tests this tool performs \n" );
529 printf( "\t -r[un] 1, 3, 10 - 19 # run specific tests. enter individual test numbers and/or range of numbers. use -list to list tests. \n" );
530 printf( "\t -s[kip] # skip setuid tests \n" );
531 printf( "\t -t[arget] TARGET_PATH # path to directory where tool will create test files. defaults to \"/tmp/\" \n" );
533 printf( "\t -x[ilog] # use XILog\n");
535 printf( "\nexamples: \n" );
536 printf( "--- Place all test files and directories at the root of volume \"test_vol\" --- \n" );
537 printf( "%s -t /Volumes/test_vol/ \n", (my_ptr != NULL) ? my_ptr : g_cmd_namep );
538 printf( " \n" );
539 printf( "--- Run the tool for tests 10 thru 15, test 18 and test 20 --- \n" );
540 printf( "%s -r 10-15, 18, 20 \n", (my_ptr != NULL) ? my_ptr : g_cmd_namep );
541 printf( " \n" );