Lines Matching refs:printf
79 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
98 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
99 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
132 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
141 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
142 printf( "\t path we stated \"%s\" \n", &g_target_path[0] );
151 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
157 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
166 printf( "wait4 returned an odd looking rusage structure \n" );
173 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
198 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
204 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
220 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
221 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
228 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
233 printf( "read call failed - should have read 0 bytes on empty file - read %ld \n", (long int) my_result );
236 printf( "read call failed - should have read 0 bytes on empty file - read %d \n", (int) my_result );
246 printf( "write should have failed for read only fd - %ld \n", (long int) my_result );
249 printf( "write should have failed for read only fd - %d \n", (int) my_result );
254 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
255 printf( "should have failed with EBADF error %d \n", EBADF );
263 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
264 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
271 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
275 printf( "write failed to write out all the data \n" );
282 printf( "fsync failed with errno %d - %s \n", errno, strerror( errno ) );
296 printf( "readv call failed with error %d - \"%s\" \n", errno, strerror( errno) );
300 printf( "readv failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, (int) my_result );
304 printf( "readv failed to get correct data \n" );
311 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
317 printf( "fstat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
321 printf( "ftruncate call failed - file size is wrong \n" );
334 printf( "writev call failed with error %d - \"%s\" \n", errno, strerror( errno) );
338 printf( "writev failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, (int) my_result );
352 printf( "readv call failed with error %d - \"%s\" \n", errno, strerror( errno) );
356 printf( "readv failed to get all the data - asked for %d got back %d\n", MY_BUFFER_SIZE, (int) my_result );
360 printf( "readv failed to get correct data \n" );
367 printf( "lseek call failed with error %d - \"%s\" \n", errno, strerror( errno) );
373 printf( "pwrite call failed with error %d - \"%s\" \n", errno, strerror( errno) );
377 printf( "pwrite failed to write all the data \n" );
383 printf( "pwrite advanced file positiion \n" );
390 printf( "pread call failed with error %d - \"%s\" \n", errno, strerror( errno) );
394 printf( "pread failed to write all the data \n" );
400 printf( "pread advanced file positiion \n" );
406 printf( "pread or pwrite failed to read / write correct data \n" );
413 printf( "truncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
419 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
423 printf( "truncate call failed - file size is wrong \n" );
462 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
479 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
480 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
487 printf( "pathconf - _PC_PATH_MAX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
490 // printf( "_PC_PATH_MAX %ld \n", my_pconf_result );
493 printf( "pathconf - _PC_PATH_MAX - looks like wrong results \n" );
499 printf( "fpathconf - _PC_PATH_MAX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
502 // printf( "_PC_NAME_MAX %ld \n", my_pconf_result );
505 printf( "fpathconf - _PC_NAME_MAX - looks like wrong results \n" );
514 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", (long int) my_result );
517 printf( "write failed. should have written 3 bytes actually wrote - %d \n", (int) my_result );
526 printf( "read call should have failed with errno 9 (EBADF) \n" );
530 printf( "read call should have failed with errno 9 (EBADF). actually failed with %d - \"%s\" \n", my_err, strerror( my_err) );
539 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
540 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
546 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
550 printf( "read failed - should have read 0 bytes. \n" );
558 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", (long int) my_result );
561 printf( "write failed. should have written 3 bytes actually wrote - %d \n", (int) my_result );
572 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", (long int) my_result );
575 printf( "write failed. should have written 3 bytes actually wrote - %d \n", (int) my_result );
585 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
589 printf( "read failed to get correct data \n" );
596 printf( "fstat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
600 printf( "fstat call failed - st_size is wrong \n" );
604 printf( "fstat call failed - st_mode does not indicate regular file \n" );
641 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
647 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
669 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
676 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
677 printf( "st_size is not 0 \n" );
684 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
685 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
692 printf( "write failed. should have written 3 bytes actually wrote - %ld \n", (long int) my_result );
695 printf( "write failed. should have written 3 bytes actually wrote - %d \n", (int) my_result );
705 printf( "link call failed. got errno %d - %s. \n", errno, strerror( errno ) );
710 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
714 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
715 printf( "incorrect st_nlink \n" );
721 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
722 printf( "st_size is not 3 \n" );
729 printf( "unlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
734 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
738 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
739 printf( "incorrect st_nlink \n" );
781 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
800 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
807 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
815 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
825 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
832 printf( "chdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
839 printf( "chdir to root volume has failed \n" );
846 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
847 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
853 printf( "fchdir call failed. got errno %d - %s. \n", errno, strerror( errno ) );
859 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
869 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
913 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
931 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
937 printf( "chmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
944 printf( "access call should have failed, but did not. \n" );
954 printf( "access failed with errno %d - %s. \n", my_err, strerror( my_err ) );
962 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
968 printf( "chmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1010 printf("Unresolved: First attempt deleted '" FILE_NOTME "'! \n");
1013 printf("Status: First attempt to delete '" FILE_NOTME "' failed with error %d - %s.\n", my_err, strerror( my_err ));
1026 printf("Failed: Second attempt deleted '" FILE_NOTME "'!\n");
1029 printf("Passed: Second attempt to delete '" FILE_NOTME "' failed with error %d - %s.\n", my_err, strerror( my_err ));
1031 printf("Failed: Second attempt to delete '" FILE_NOTME "' failed with error %d - %s.\n", my_err, strerror( my_err ));
1051 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1052 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
1058 printf( "fchmod call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1064 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1071 printf( "fchmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1103 printf( "initial setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1132 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1148 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1170 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1176 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1196 printf( "not enough groups to choose from. st_gid is the same as current groups! \n" );
1202 printf( "chown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1209 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1213 printf( "chown call failed. st_gid is not correct! \n" );
1220 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1221 printf( "\t we attempted to open -> \"%s\" \n", &g_target_path[0] );
1227 printf( "fchown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1234 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1238 printf( "fchown call failed. st_gid is not correct! \n" );
1245 printf( "symlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1251 printf( "lstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1260 printf( "lchown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1267 printf( "lstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1271 printf( "lchown call failed. st_gid is not correct! \n" );
1278 printf( "readlink call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1283 printf( "readlink failed to read any data. \n" );
1306 printf( "\t--> Test not designed for EMBEDDED TARGET\n" );
1349 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1358 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1365 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1374 printf( "getfsstat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1390 printf( "getfsstat call failed. could not find valid f_fstypename! \n" );
1399 printf( "statfs64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1404 printf( "statfs64 call failed. wrong f_fsid! \n" );
1410 printf( "getfsstat64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1426 printf( "getfsstat64 call failed. could not find valid f_fstypename! \n" );
1441 printf( "getattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1449 printf( "open call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1458 printf( "fstatfs64 call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1465 printf( "fstatfs64 call failed. could not find valid f_fstypename! \n" );
1474 printf( "fstatfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1481 printf( "fstatfs call failed. could not find valid f_fstypename! \n" );
1487 printf( "fstatfs and getattrlist results do not match for volume block size \n" );
1494 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1501 printf( "statfs call failed. wrong f_iosize or f_fsid! \n" );
1505 printf( "statfs and getattrlist results do not match for volume block size \n" );
1545 printf( "pipe call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1552 printf( "lseek on pipe should fail but did not \n" );
1559 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1573 printf( "read from pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1580 printf( "strtoul failed. got errno %d - %s. \n", errno, strerror( errno ) );
1585 printf( "getppid failed. pid we got from parent does not match getppid result. \n" );
1599 printf( "write to pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1606 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1612 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1617 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1646 printf("\t skipping this test \n");
1659 printf( "issetugid should return false \n" );
1665 printf( "issetugid should return true \n" );
1676 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
1702 printf( "settid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1709 printf( "gettid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1713 printf("get / settid test failed - wrong uid was set - %d \n", my_temp_uid);
1717 printf("get / settid test failed - wrong gid was set - %d \n", my_temp_gid);
1725 printf( "settid revert - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1732 printf("test failed - wrong uid was set - %d \n", my_temp_uid);
1737 printf("test failed - wrong gid was set - %d \n", my_temp_gid);
1747 printf( "settid_with_pid assume - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1757 printf( "settid_with_pid resume - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1771 printf( "setaudit_addr - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1778 printf( "getaudit_addr - failed with error %d - \"%s\" \n", errno, strerror( errno) );
1781 //printf("new audit ID is %d \n", my_aia.ai_auid);
1784 printf("test failed - wrong audit ID was set - %d \n", my_aia.ai_auid);
1791 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1795 printf( "setuid call failed to set the real uid \n" );
1802 printf( "seteuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1806 printf( "seteuid call failed to set the original euid \n" );
1813 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1817 printf( "setuid call failed to set the real uid \n" );
1830 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
1836 printf( "wait4 did not return child pid - returned %d should be %d \n", my_wait_pid, my_pid );
1841 printf( "wait4 returned wrong exit status - 0x%02X \n", my_status );
1866 printf("\t skipping this test \n");
1873 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1888 printf( "mknod failed with errno %d - %s \n", errno, strerror( errno ) );
1889 printf( "path \"%s\" \n", my_pathp );
1924 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
1941 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1948 printf( "chflags call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1955 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1956 printf( "open failed with wrong error - should be EPERM \n" );
1963 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1969 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1976 printf( "chflags call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1986 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2040 printf("Determination of processor bit-ness failed, get_bits() returned %d.\n", get_bits());
2140 printf("get_architecture() returned unknown architecture");
2148 printf("%s", errmsg);
2169 printf("\t skipping this test \n");
2185 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2195 printf( "getgid or getgroups call failed. could not find real gid in list of groups. \n" );
2203 printf( "getegid or getgroups call failed. could not find effective gid in list of groups. \n" );
2211 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2218 printf( "getgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2224 printf( "setgroups call failed. current group count is too high. \n" );
2232 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2245 printf( "could not find a gid to switch to. \n" );
2252 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2257 printf( "setegid failed to change the effective gid. \n" );
2263 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2270 printf( "setgid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2275 printf( "setgid failed to change the real gid. \n" );
2281 printf( "setegid call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2294 printf( "\t--> Test not designed for EMBEDDED TARGET\n" );
2317 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
2334 printf( "getdtablesize should return at least 20, returned %d \n", my_table_size );
2340 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2346 printf( "dup call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2355 printf( "ftruncate call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2362 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2368 printf( "write call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2376 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2380 printf( "wrong data in test file. \n" );
2388 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2392 printf( "wrong data in test file. \n" );
2403 printf( "dup2 call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2440 printf( "getrusage failed with error %d - \"%s\" \n", errno, strerror( errno) );
2446 printf( "getrusage seems to report wrong data - ru_msgrcv looks odd. \n" );
2450 printf( "getrusage seems to report wrong data - ru_nsignals looks odd. \n" );
2474 //printf( "test_alarm_handler - got here \n" );
2483 //printf( "test_signal_handler - got here \n" );
2499 printf( "vm_allocate 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 ) );
2749 printf("\t skipping this test \n");
2759 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2772 printf( "getlogin returned NULL name pointer \n" );
2781 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
2795 printf( "When setting new login name, setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) );
2803 printf( "getlogin returned NULL name pointer \n" );
2809 printf( "setlogin failed to set the new name \n" );
2820 printf( "When resetting login name, setlogin failed with error %d - \"%s\" \n", errno, strerror( errno) );
2839 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2872 printf("\t skipping this test \n");
2879 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
2896 printf( "acct failed with error %d - \"%s\" \n", errno, strerror( errno) );
2905 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
2925 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
2930 printf("unexpected child exit status for accounting test load: %d\n", WEXITSTATUS( my_status));
2937 printf( "acct failed with error %d - \"%s\" \n", errno, strerror( errno) );
2944 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2952 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2961 printf( "------------------------\n" );
2962 printf( "my_acctp->ac_uid = %lu (should be: %lu)\n", (unsigned long) my_acctp->ac_uid, (unsigned long) getuid() );
2963 printf( "my_acctp->ac_gid = %lu (should be: %lu)\n", (unsigned long) my_acctp->ac_gid, (unsigned long) getgid() );
3001 printf( "my_acctp->ac_comm = \"%s\" (should begin with: \"tr\")\n", my_cmd_str);
3002 printf( "my_acctp->ac_comm = \"%s\"\n", my_hex_str);
3003 printf( "------------------------\n" );
3023 printf( "getmntinfo failed with error %d - \"%s\" \n", errno, strerror( errno) );
3039 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3046 printf( "ioctl DKIOCGETBLOCKCOUNT failed with error %d - \"%s\" \n", errno, strerror( errno) );
3053 printf( "ioctl DKIOCGETBLOCKSIZE failed with error %d - \"%s\" \n", errno, strerror( errno) );
3056 //printf( "my_block_count %qd my_blksize %d \n", my_block_count, my_blksize );
3060 printf( "ioctl appears to have returned incorrect block size data \n" );
3092 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3103 printf( "create_random_name failed with error %d\n", my_err );
3114 printf( "mkdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3121 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3125 printf( "umask did not limit modes as it should have \n" );
3132 printf( "rmdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3167 printf("\t skipping this test \n");
3174 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3191 printf( "mkdir failed with error %d - \"%s\" \n", errno, strerror( errno) );
3200 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3212 printf( "chroot failed with error %d - \"%s\" \n", errno, strerror( errno) );
3219 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3223 printf( "root dir should be emnpty! \n" );
3234 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3239 printf( "bad exit status\n" );
3253 printf( "rmdir failed with error %d - \"%s\" path %p\n", errno, strerror( errno), my_pathp );
3272 printf( "getsid call failed with error %d - \"%s\" \n",
3282 printf( "getpgrp and getpgid did not return the same process group ID \n" );
3283 printf( "getpgid: %d, my_process_group: %d\n", getpgid( 0 ), my_process_group );
3291 printf( "setsid call should have failed with EPERM\n" );
3298 printf( "setsid call failed with error %d - \"%s\" \n",
3304 printf( "process group was not reset \n" );
3320 printf( "setpgid should have failed, but did not \n" );
3348 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3365 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3371 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3385 printf( "fcntl - F_SETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3392 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3396 printf( "fcntl - F_SETFD failed to set FD_CLOEXEC correctly!!! \n" );
3404 printf( "fcntl - F_DUPFD_CLOEXEC - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3413 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3417 printf( "fcntl - F_DUPFD_CLOEXEC failed to set FD_CLOEXEC!!! \n" );
3435 printf( "open call failed on /dev/fd/%u with error %d - \"%s\" \n", my_fd, errno, strerror( errno) );
3444 printf( "fcntl - F_GETFD - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3448 printf( "fcntl - O_CLOEXEC open of /dev/fd/%u failed to set FD_CLOEXEC!!! \n", my_fd );
3486 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3494 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3502 printf( "getpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3507 printf( "setpriority - failed to set correct scheduling priority \n" );
3514 printf( "setpriority - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3545 printf( "\t skipping this test \n" );
3552 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3568 printf( "gettimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3571 //printf( "tv_sec %d tv_usec %ld \n", my_orig_time.tv_sec, my_orig_time.tv_usec );
3577 printf( "settimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3583 printf( "gettimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3586 //printf( "tv_sec %d tv_usec %ld \n", my_temp_time.tv_sec, my_temp_time.tv_usec );
3588 printf( "settimeofday did not set correct time \n" );
3597 printf( "settimeofday - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3604 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3614 printf( "utimes - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3621 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3628 printf( "utimes failed to set access and mod times \n" );
3634 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3642 printf( "futimes - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3649 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3656 printf( "futimes failed to set access and mod times \n" );
3691 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3707 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3724 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3732 printf( "rename - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3739 printf( "rename call failed - found old name \n" );
3746 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3750 printf( "rename failed - wrong file id \n" );
3786 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3803 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3809 printf( "flock - LOCK_EX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3818 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3830 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3838 printf( "flock call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3844 printf( "flock call should have failed with EWOULDBLOCK err \n" );
3860 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
3870 printf( "flock - LOCK_UN - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3906 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
3922 printf( "mkfifo failed with errno %d - %s. \n", errno, strerror( errno ) );
3931 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) );
3945 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3954 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3959 printf( "read wrong message from parent \n" );
3975 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3982 printf( "lseek on fifo should fail but did not \n" );
3988 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3994 printf( "wait4 failed with errno %d - %s \n", errno, strerror( errno ) );
4030 printf( "\t skipping this test \n" );
4038 printf( "quotactl - Q_QUOTASTAT - failed with errno %d - %s \n", errno, strerror( errno ) );
4050 printf( "quotactl - Q_GETQUOTA - failed with errno %d - %s \n", errno, strerror( errno ) );
4063 printf( "\t--> Not supported on EMBEDDED TARGET\n" );
4080 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4092 printf( "setrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4100 printf( "getrlimit - failed with errno %d - %s \n", errno, strerror( errno ) );
4104 printf( "failed to get/set new RLIMIT_NOFILE soft limit \n" );
4105 printf( "soft limits - current %lld should be %lld \n", my_rlimit.rlim_cur, my_current_rlimit.rlim_cur );
4110 printf( "hard limits - current %lld should be %lld \n", my_rlimit.rlim_max, my_current_rlimit.rlim_max );
4112 printf( "failed to get/set new RLIMIT_NOFILE hard limit \n" );
4125 printf("failed to set large limit.\n");
4132 printf("after setting large value, failed to getrlimit().\n");
4137 printf("didn't retrieve large limit.\n");
4192 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4201 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4207 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4228 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
4244 printf( "getattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4249 printf( "getattrlist returned incorrect obj_type data. \n" );
4261 printf( "setattrlist call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4269 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
4281 printf( "getdirentriesattr call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4291 printf( "setattrlist failed to set backup time. \n" );
4297 printf( "getdirentriesattr failed to find test file. \n" );
4340 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4351 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4362 printf( "create_random_name my_err: %d\n", my_err );
4367 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4372 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4378 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4389 printf( "create_random_name my_err: %d\n", my_err );
4394 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4399 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4410 printf( "exchangedata failed with error %d - \"%s\" \n", errno, strerror( errno) );
4417 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4423 printf( "write call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4428 printf( "exchangedata failed - incorrect data in file \n" );
4503 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
4514 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4525 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4531 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4537 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4543 printf( "failed to create a test file name in \"%s\" \n", my_pathp );
4612 // printf("my_matches %d \n", my_matches);
4628 printf("obj_name \"%.*s\" \n",
4632 printf("size %d fid_objno %d fid_generation %d tv_sec 0x%02LX \n",
4648 printf( "searchfs failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4654 printf( "searchfs failed to find all test files \n" );
4682 printf( "\t--> Not supported on EMBEDDED TARGET\n" );
4716 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4722 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );
4738 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4755 printf( "malloc failed with error %d - \"%s\" \n", errno, strerror( errno) );
4776 printf( "aio_write failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4793 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4814 printf( "aio_read or aio_write failed - wrong data read \n" );
4820 printf( "aio_read failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4829 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4850 printf( "aio_write failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4866 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4873 printf( "aio_fsync failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4888 printf( "aio_error failed with error %d - \"%s\" \n", my_err, strerror( my_err ) );
4898 printf( "read call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4902 printf( "aio_fsync or aio_write failed - wrong data read \n" );
4915 printf( "lio_listio call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4923 printf( "aio_suspend call failed with error %d - \"%s\" \n", errno, strerror( errno) );
4932 printf( "aio_cancel failed with error %d - \"%s\" \n", my_err, strerror( my_err) );
4982 printf( "msgget failed with errno %d - %s \n", errno, strerror( errno ) );
4989 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
4993 printf( "msgctl IPC_STAT failed to get correct creator uid \n" );
4997 printf( "msgctl IPC_STAT failed to get correct mode \n" );
5006 printf( "msgsnd failed with errno %d - %s \n", errno, strerror( errno ) );
5012 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5016 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5024 printf( "msgrcv failed with errno %d - %s \n", errno, strerror( errno ) );
5028 printf( "msgrcv failed to return the correct number of bytes in our buffer \n" );
5032 printf( "msgrcv failed to get the correct message \n" );
5038 printf( "msgctl failed with errno %d - %s \n", errno, strerror( errno ) );
5042 printf( "msgctl IPC_STAT failed to get correct number of messages on the queue \n" );
5049 printf( "msgctl IPC_RMID failed with errno %d - %s \n", errno, strerror( errno ) );
5066 printf( "\t--> Not supported on EMBEDDED TARGET \n" );
5087 printf("data_exec_test: couldn't determine architecture\n");
5101 printf("data_exec-x86_64 failed\n");
5107 printf("data_exec-i386 failed\n");
5115 printf("data_exec-i386 failed in posix_spawn %s\n", strerror(errno));
5120 printf("data_exec-i386 wait4 failed with errno %d - %s\n", errno, strerror(errno));
5124 printf("data_exec-i386 _POSIX_SPAWN_ALLOW_DATA_EXEC failed\n");
5154 printf("sysctlbyname(\"kern.slide\") failed with errno %d\n", errno);
5164 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, &slide, &size) reported slide of 0x%016llx\n", slide);
5168 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, &slide, &size) reported size of %lu\n", size);
5176 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, &slide, &size) returned unexpected errno (errno %d)\n", errno);
5185 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, NULL, &size) returned unexpected success or errno (result %d errno %d)\n", result, errno);
5192 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, NULL, &size+1) returned unexpected success or errno (result %d errno %d)\n", result, errno);
5198 printf("kas_info(KAS_INFO_KERNEL_TEXT_SLIDE_SELECTOR, NULL, NULL) returned unexpected success or errno (result %d errno %d)\n", result, errno);
5205 printf("kas_info(KAS_INFO_MAX_SELECTOR, &slide, &size) returned unexpected success or errno (result %d errno %d)\n", result, errno);
5230 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) );