Lines Matching refs:printf
75 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
94 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
95 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
128 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
137 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
138 printf( "\t path we stated \"%s\" \n", &g_target_path[0] );
147 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
153 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
162 printf( "wait4 returned an odd looking rusage structure \n" );
169 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
193 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
199 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
215 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
216 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
223 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
228 printf( "read call failed - should have read 0 bytes on empty file - read %lld \n", my_result );
231 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", my_result );
241 printf( "write should have failed for read only fd - %lld \n", my_result );
244 printf( "write should have failed for read only fd - %d \n", my_result );
249 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
250 printf( "should have failed with EBADF error %d \n", EBADF );
258 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
259 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
266 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
270 printf( "write failed to write out all the data \n" );
277 printf( "fsync failed with errno %d - %s \n", errno, strerror( errno ) );
291 printf( "readv call failed with error %d - \"%s\" \n", errno, strerror( errno) );
295 printf( "readv failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, my_result );
299 printf( "readv failed to get correct data \n" );
306 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
312 printf( "fstat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
316 printf( "ftruncate call failed - file size is wrong \n" );
329 printf( "writev call failed with error %d - \"%s\" \n", errno, strerror( errno) );
333 printf( "writev failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, my_result );
347 printf( "readv call failed with error %d - \"%s\" \n", errno, strerror( errno) );
351 printf( "readv failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, my_result );
355 printf( "readv failed to get correct data \n" );
362 printf( "lseek call failed with error %d - \"%s\" \n", errno, strerror( errno) );
368 printf( "pwrite call failed with error %d - \"%s\" \n", errno, strerror( errno) );
372 printf( "pwrite failed to write all the data \n" );
378 printf( "pwrite advanced file positiion \n" );
385 printf( "pread call failed with error %d - \"%s\" \n", errno, strerror( errno) );
389 printf( "pread failed to write all the data \n" );
395 printf( "pread advanced file positiion \n" );
401 printf( "pread or pwrite failed to read / write correct data \n" );
408 printf( "truncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
414 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
418 printf( "truncate call failed - file size is wrong \n" );
456 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
473 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
474 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
481 printf( "pathconf - _PC_PATH_MAX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
484 // printf( "_PC_PATH_MAX %ld \n", my_pconf_result );
487 printf( "pathconf - _PC_PATH_MAX - looks like wrong resutls \n" );
493 printf( "fpathconf - _PC_PATH_MAX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
496 // printf( "_PC_NAME_MAX %ld \n", my_pconf_result );
499 printf( "fpathconf - _PC_NAME_MAX - looks like wrong resutls \n" );
508 printf( "write failed. should have written 3 bytes actually wrote - %lld \n", my_result );
511 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", my_result );
520 printf( "read call should have failed with errno 9 (EBADF) \n" );
524 printf( "read call should have failed with errno 9 (EBADF). actually failed with %d - \"%s\" \n", my_err, strerror( my_err) );
533 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
534 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
540 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
544 printf( "read failed - should have read 0 bytes. \n" );
552 printf( "write failed. should have written 3 bytes actually wrote - %lld \n", my_result );
555 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", my_result );
566 printf( "write failed. should have written 3 bytes actually wrote - %lld \n", my_result );
569 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", my_result );
579 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
583 printf( "read failed to get correct data \n" );
590 printf( "fstat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
594 printf( "fstat call failed - st_size is wrong \n" );
598 printf( "fstat call failed - st_mode does not indicate regular file \n" );
634 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
639 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
661 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
668 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
669 printf( "st_size is not 0 \n" );
676 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
677 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
684 printf( "write failed. should have written 3 bytes actually wrote - %lld \n", my_result );
687 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", my_result );
697 printf( "link call failed. got errno %d - %s. \n", errno, strerror( errno ) );
702 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
706 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
707 printf( "incorrect st_nlink \n" );
713 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
714 printf( "st_size is not 3 \n" );
721 printf( "unlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
726 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
730 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
731 printf( "incorrect st_nlink \n" );
772 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
790 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
797 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
805 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
815 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
822 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
829 printf( "chdir to root volume has failed \n" );
836 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
837 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
843 printf( "fchdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
849 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
859 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
894 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
911 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
917 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
924 printf( "access call should have failed, but did not. \n" );
935 printf( "access failed with errno %d - %s. \n", my_err, strerror( my_err ) );
940 printf( "access failed with errno %d - %s. \n", my_err, strerror( my_err ) );
949 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
955 printf( "chmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
962 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
963 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
969 printf( "fchmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
975 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
982 printf( "fchmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1022 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1038 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1054 printf("my_group_count: %d\n", my_group_count);
1057 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1063 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1071 printf( "st_gid: %d, st_uid: %d, my_group_count: %d\n" );
1085 printf( "not enough groups to choose from. st_gid is the same as current groups! \n" );
1091 printf( "chown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1098 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1102 printf( "chown call failed. st_gid is not correct! \n" );
1109 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1110 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
1116 printf( "fchown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1123 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1127 printf( "fchown call failed. st_gid is not correct! \n" );
1134 printf( "symlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1140 printf( "lstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1149 printf( "lchown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1156 printf( "lstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1160 printf( "lchown call failed. st_gid is not correct! \n" );
1167 printf( "readlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1172 printf( "readlink failed to read any data. \n" );
1195 printf( "\t--> Test not designed for EMBEDDED TARGET\n" );
1233 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1239 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1246 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1255 printf( "getfsstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1271 printf( "getfsstat call failed. could not find valid f_fstypename! \n" );
1279 printf( "statfs64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1284 printf( "statfs64 call failed. wrong f_fsid! \n" );
1290 printf( "getfsstat64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1306 printf( "getfsstat64 call failed. could not find valid f_fstypename! \n" );
1320 printf( "getattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1328 printf( "open call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1336 printf( "fstatfs64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1343 printf( "fstatfs64 call failed. could not find valid f_fstypename! \n" );
1351 printf( "fstatfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1358 printf( "fstatfs call failed. could not find valid f_fstypename! \n" );
1364 printf( "fstatfs and getattrlist results do not match for volume block size \n" );
1371 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1378 printf( "statfs call failed. wrong f_iosize or f_fsid! \n" );
1382 printf( "statfs and getattrlist results do not match for volume block size \n" );
1420 printf( "pipe call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1427 printf( "lseek on pipe should fail but did not \n" );
1434 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1448 printf( "read from pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1455 printf( "strtoul failed. got errno %d - %s. \n", errno, strerror( errno ) );
1460 printf( "getppid failed. pid we got from parent does not match getppid result. \n" );
1474 printf( "write to pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1481 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1487 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1492 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1521 printf("\t skipping this test \n");
1530 printf( "issetugid should return false \n" );
1536 printf( "issetugid should return true \n" );
1546 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1572 printf( "settid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1579 printf( "gettid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1583 printf("get / settid test failed - wrong uid was set - %d \n", my_temp_uid);
1587 printf("get / settid test failed - wrong gid was set - %d \n", my_temp_gid);
1595 printf( "settid revert - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1602 printf("test failed - wrong uid was set - %d \n", my_temp_uid);
1607 printf("test failed - wrong gid was set - %d \n", my_temp_gid);
1617 printf( "settid_with_pid assume - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1627 printf( "settid_with_pid resume - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1637 printf( "getauid - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1640 //printf("current au_id is %d \n", my_au_id);
1645 printf( "setauid - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1652 printf( "getauid - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1655 //printf("new au_id is %d \n", my_temp_au_id);
1658 printf("test failed - wrong au_id was set - %d \n", my_temp_au_id);
1664 printf( "setauid - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1671 printf( "getauid - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1676 printf("test failed - wrong au_id was set - %d \n", my_temp_au_id);
1683 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1687 printf( "setuid call failed to set the real uid \n" );
1694 printf( "seteuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1698 printf( "seteuid call failed to set the original euid \n" );
1705 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1709 printf( "setuid call failed to set the real uid \n" );
1722 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1728 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1733 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1757 printf("\t skipping this test \n");
1764 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1779 printf( "mknod failed with errno %d - %s \n", errno, strerror( errno ) );
1780 printf( "path \"%s\" \n", my_pathp );
1814 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
1831 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1838 printf( "chflags call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1845 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1846 printf( "open failed with wrong error - should be EPERM \n" );
1853 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1859 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1866 printf( "chflags call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1876 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1930 printf("Determination of processor bit-ness failed, get_bits() returned %d.\n", get_bits());
2118 printf("get_architecture() returned unknown architecture");
2126 printf("%s", errmsg);
2147 printf("\t skipping this test \n");
2157 printf("my_orig_group_count: %d\n", my_orig_group_count);
2160 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2170 printf( "getgid or getgroups call failed. could not find real gid in list of groups. \n" );
2178 printf( "getegid or getgroups call failed. could not find effective gid in list of groups. \n" );
2186 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2191 printf("my_group_count: %d\n", my_group_count);
2194 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2200 printf( "setgroups call failed. current group count is too high. \n" );
2208 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2221 printf( "could not find a gid to switch to. \n" );
2228 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2233 printf( "setegid failed to change the effective gid. \n" );
2239 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2246 printf( "setgid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2251 printf( "setgid failed to change the real gid. \n" );
2257 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2270 printf( "\t--> Test not designed for EMBEDDED TARGET\n" );
2292 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
2309 printf( "getdtablesize should return at least 20, returned %d \n", my_table_size );
2315 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2321 printf( "dup call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2330 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2337 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2343 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2351 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2355 printf( "wrong data in test file. \n" );
2363 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2367 printf( "wrong data in test file. \n" );
2378 printf( "dup2 call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2417 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
2425 printf( "profil failed with error %d - \"%s\" \n", errno, strerror( errno) );
2431 printf( "getrusage failed with error %d - \"%s\" \n", errno, strerror( errno) );
2437 printf( "getrusage seems to report wrong data - ru_msgrcv looks odd. \n" );
2441 printf( "getrusage seems to report wrong data - ru_nsignals looks odd. \n" );
2448 printf( "profil failed with error %d - \"%s\" \n", errno, strerror( errno) );
2475 //printf( "test_alarm_handler - got here \n" );
2484 //printf( "test_signal_handler - got here \n" );
2499 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
2518 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2545 printf( "sigaction failed with errno %d - %s \n", errno, strerror( errno ) );
2549 printf( "sigaction must have failed - SS_DISABLE is cleared \n" );
2560 printf( "sigaction failed with errno %d - %s \n", errno, strerror( errno ) );
2569 printf( "sigsuspend should have returned with errno EINTR \n" );
2578 printf( "sigaddset call failed to add SIGUSR1 to signal set \n" );
2583 printf( "sigprocmask failed with errno %d - %s \n", errno, strerror( errno ) );
2591 printf( "sigprocmask failed with errno %d - %s \n", errno, strerror( errno ) );
2595 printf( "sigaddset call failed to add SIGUSR1 to signal set \n" );
2606 printf( "sigwait failed with errno %d - %s \n", errno, strerror( errno ) );
2609 //printf( "%s - %d - signal 0x%02X %d \n", __FUNCTION__, __LINE__, my_signal, my_signal );
2611 printf( "sigwait failed to catch a pending SIGUSR1 signal. \n" );
2620 printf( "sigprocmask failed with errno %d - %s \n", errno, strerror( errno ) );
2624 printf( "sigprocmask call failed to unblock SIGUSR1 \n" );
2633 printf( "setitimer - ITIMER_VIRTUAL - failed with errno %d - %s \n", errno, strerror( errno ) );
2638 printf( "setitimer - ITIMER_PROF - failed with errno %d - %s \n", errno, strerror( errno ) );
2650 printf( "sigaction - SIGALRM - failed with errno %d - %s \n", errno, strerror( errno ) );
2658 printf( "setitimer - ITIMER_REAL - failed with errno %d - %s \n", errno, strerror( errno ) );
2668 printf( "sigsuspend should have returned with errno EINTR \n" );
2673 printf( "setitimer test failed - did not catch SIGALRM \n" );
2682 printf( "getitimer - ITIMER_REAL - failed with errno %d - %s \n", errno, strerror( errno ) );
2686 printf( "ITIMER_REAL is set, but should not be \n" );
2699 printf( "kill call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2707 printf( "kill call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2714 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2748 printf("\t skipping this test \n");
2758 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2771 printf( "getlogin returned NULL name pointer \n" );
2779 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
2790 printf( "setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) );
2798 printf( "getlogin returned NULL name pointer \n" );
2803 printf( "setlogin failed to set the new name \n" );
2821 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2853 printf("\t skipping this test \n");
2860 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
2876 printf( "acct failed with error %d - \"%s\" \n", errno, strerror( errno) );
2885 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2901 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2912 printf( "acct failed with error %d - \"%s\" \n", errno, strerror( errno) );
2919 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2927 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2942 printf( "accounting data does not look correct under Rosetta.\n" );
2951 printf( "accounting data does not look correct \n" );
2988 printf( "getmntinfo failed with error %d - \"%s\" \n", errno, strerror( errno) );
3004 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3011 printf( "ioctl DKIOCGETBLOCKCOUNT failed with error %d - \"%s\" \n", errno, strerror( errno) );
3018 printf( "ioctl DKIOCGETBLOCKSIZE failed with error %d - \"%s\" \n", errno, strerror( errno) );
3021 //printf( "my_block_count %qd my_blksize %d \n", my_block_count, my_blksize );
3025 printf( "ioctl appears to have returned incorrect block size data \n" );
3056 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3066 printf( "create_random_name failed with error %d\n", my_err );
3077 printf( "mkdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3084 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3088 printf( "umask did not limit modes as it should have \n" );
3095 printf( "rmdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3129 printf("\t skipping this test \n");
3136 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3152 printf( "mkdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3161 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3173 printf( "chroot failed with error %d - \"%s\" \n", errno, strerror( errno) );
3180 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3184 printf( "root dir should be emnpty! \n" );
3195 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3200 printf( "bad exit status\n" );
3214 printf( "rmdir failed with error %d - \"%s\" path %p\n", errno, strerror( errno), my_pathp );
3233 printf( "getsid call failed with error %d - \"%s\" \n",
3243 printf( "getpgrp and getpgid did not return the same process group ID \n" );
3244 printf( "getpgid: %d, my_process_group: %d\n", getpgid( 0 ), my_process_group );
3252 printf( "setsid call should have failed with EPERM\n" );
3259 printf( "setsid call failed with error %d - \"%s\" \n",
3265 printf( "process group was not reset \n" );
3281 printf( "setpgid should have failed, but did not \n" );
3307 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3323 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3329 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3343 printf( "fcntl - F_SETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3350 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3354 printf( "fcntl - F_SETFD failed to set FD_CLOEXEC correctly!!! \n" );
3388 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3396 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3404 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3409 printf( "setpriority - failed to set correct scheduling priority \n" );
3416 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3446 printf( "\t skipping this test \n" );
3453 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3468 printf( "gettimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3471 //printf( "tv_sec %d tv_usec %ld \n", my_orig_time.tv_sec, my_orig_time.tv_usec );
3477 printf( "settimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3483 printf( "gettimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3486 //printf( "tv_sec %d tv_usec %ld \n", my_temp_time.tv_sec, my_temp_time.tv_usec );
3488 printf( "settimeofday did not set correct time \n" );
3497 printf( "settimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3504 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3514 printf( "utimes - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3521 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3528 printf( "utimes failed to set access and mod times \n" );
3534 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3542 printf( "futimes - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3549 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3556 printf( "futimes failed to set access and mod times \n" );
3590 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3605 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3621 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3629 printf( "rename - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3636 printf( "rename call failed - found old name \n" );
3643 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3647 printf( "rename failed - wrong file id \n" );
3682 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3698 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3704 printf( "flock - LOCK_EX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3713 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3725 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3733 printf( "flock call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3739 printf( "flock call should have failed with EWOULDBLOCK err \n" );
3755 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3765 printf( "flock - LOCK_UN - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3800 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
3815 printf( "mkfifo failed with errno %d - %s. \n", errno, strerror( errno ) );
3824 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3838 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3847 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3852 printf( "read wrong message from parent \n" );
3868 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3875 printf( "lseek on fifo should fail but did not \n" );
3881 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3887 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3923 printf( "\t skipping this test \n" );
3931 printf( "quotactl - Q_QUOTASTAT - failed with errno %d - %s \n", errno, strerror( errno ) );
3943 printf( "quotactl - Q_GETQUOTA - failed with errno %d - %s \n", errno, strerror( errno ) );
3956 printf( "\t--> Not supported on EMBEDDED TARGET\n" );
3973 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
3985 printf( "setrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
3993 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
3997 printf( "failed to get/set new RLIMIT_NOFILE soft limit \n" );
3998 printf( "soft limits - current %lld should be %lld \n", my_rlimit.rlim_cur, my_current_rlimit.rlim_cur );
4002 printf( "hard limits - current %lld should be %lld \n", my_rlimit.rlim_max, my_current_rlimit.rlim_max );
4004 printf( "failed to get/set new RLIMIT_NOFILE hard limit \n" );
4059 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4068 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4074 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4094 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
4109 printf( "d_ino %d d_reclen %d d_type %d d_namlen %d \"%s\" \n",
4125 printf( "getdirentries failed to find test file. \n" );
4141 printf( "getattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4146 printf( "getattrlist returned incorrect obj_type data. \n" );
4158 printf( "setattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4166 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
4178 printf( "getdirentriesattr call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4188 printf( "setattrlist failed to set backup time. \n" );
4194 printf( "getdirentriesattr failed to find test file. \n" );
4236 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4247 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4257 printf( "create_random_name my_err: %d\n", my_err );
4262 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4267 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4273 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4283 printf( "create_random_name my_err: %d\n", my_err );
4288 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4293 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4304 printf( "exchangedata failed with error %d - \"%s\" \n", errno, strerror( errno) );
4311 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4317 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4322 printf( "exchangedata failed - incorrect data in file \n" );
4394 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4405 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4415 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4421 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4427 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4433 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4497 // printf("my_matches %d \n", my_matches);
4513 printf("obj_name \"%.*s\" \n",
4517 printf("size %d fid_objno %d fid_generation %d tv_sec 0x%02LX \n",
4528 printf( "searchfs failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4534 printf( "searchfs failed to find all test files \n" );
4592 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4598 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4613 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4630 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4651 printf( "aio_write failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4668 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4689 printf( "aio_read or aio_write failed - wrong data read \n" );
4695 printf( "aio_read failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4704 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4725 printf( "aio_write failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4741 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4748 printf( "aio_fsync failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4763 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4773 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4777 printf( "aio_fsync or aio_write failed - wrong data read \n" );
4790 printf( "lio_listio call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4798 printf( "aio_suspend call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4807 printf( "aio_cancel failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4836 printf( "\t--> Not supported on EMBEDDED TARGET\n" );
4861 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4876 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4882 printf( "socketpair failed with errno %d - %s \n", errno, strerror( errno ) );
4889 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
4898 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4904 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4908 printf( "read call on socket failed to get \"all done\" message \n" );
4915 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4921 printf( "unlink failed with error %d - \"%s\" \n", errno, strerror( errno) );
4928 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4932 printf( "read call on socket failed to get \"all done\" message \n" );
4941 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4945 printf( "read call on socket failed to get \"ready to go message\" \n" );
4952 printf( "kqueue call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4963 printf( "kevent call to register events failed with error %d - \"%s\" \n", errno, strerror( errno) );
4970 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4978 printf( "kevent call to get vnode events failed with error %d - \"%s\" \n", errno, strerror( errno) );
4982 printf( "kevent call to get vnode events did not return any when it should have \n" );
4986 printf( "kevent call to get vnode events did not return NOTE_DELETE or NOTE_WRITE \n" );
4987 printf( "fflags 0x%02X \n", my_kevent.fflags );
4994 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
5000 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
5006 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
5011 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
5057 printf( "msgget failed with errno %d - %s \n", errno, strerror( errno ) );
5064 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5068 printf( "msgctl IPC_STAT failed to get correct creator uid \n" );
5072 printf( "msgctl IPC_STAT failed to get correct mode \n" );
5081 printf( "msgsnd failed with errno %d - %s \n", errno, strerror( errno ) );
5087 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5091 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5099 printf( "msgrcv failed with errno %d - %s \n", errno, strerror( errno ) );
5103 printf( "msgrcv failed to return the correct number of bytes in our buffer \n" );
5107 printf( "msgrcv failed to get the correct message \n" );
5113 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5117 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5124 printf( "msgctl IPC_RMID failed with errno %d - %s \n", errno, strerror( errno ) );
5141 printf( "\t--> Not supported on EMBEDDED TARGET \n" );
5161 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );