report_test 54 user/testbin/badcall/bad_dup2.c report_test(rv, errno, EBADF, desc); report_test 85 user/testbin/badcall/bad_execv.c report_test(rv, errno, EFAULT, desc); report_test 118 user/testbin/badcall/bad_execv.c report_test(rv, errno, EFAULT, desc); report_test 138 user/testbin/badcall/bad_execv.c report_test(rv, errno, EFAULT, desc); report_test 59 user/testbin/badcall/bad_ftruncate.c report_test(rv, errno, EINVAL, "ftruncate on device"); report_test 76 user/testbin/badcall/bad_ftruncate.c report_test(rv, errno, EINVAL, "ftruncate to negative size"); report_test 53 user/testbin/badcall/bad_ioctl.c report_test(rv, errno, EFAULT, desc); report_test 91 user/testbin/badcall/bad_ioctl.c report_test(rv, errno, EIOCTL, "invalid ioctl"); report_test 45 user/testbin/badcall/bad_link.c report_test(rv, errno, EINVAL, "hard link of ."); report_test 58 user/testbin/badcall/bad_link.c report_test(rv, errno, EINVAL, "hard link of empty string"); report_test 70 user/testbin/badcall/bad_link.c report_test(rv, errno, EINVAL, "hard link to empty string"); report_test 59 user/testbin/badcall/bad_lseek.c report_test(rv, errno, ESPIPE, "lseek on device"); report_test 140 user/testbin/badcall/bad_lseek.c report_test(rv, errno, 0, "lseek stdin when open on file (try 1)"); report_test 143 user/testbin/badcall/bad_lseek.c report_test(rv, errno, 0, "lseek stdin when open on file (try 2)"); report_test 161 user/testbin/badcall/bad_lseek.c report_test(rv, errno, EINVAL, "lseek to negative offset"); report_test 179 user/testbin/badcall/bad_lseek.c report_test(rv, errno, EINVAL, "lseek with invalid whence code"); report_test 53 user/testbin/badcall/bad_mkdir.c report_test(rv, errno, EEXIST, "mkdir ."); report_test 63 user/testbin/badcall/bad_mkdir.c report_test(rv, errno, EEXIST, "mkdir .."); report_test 72 user/testbin/badcall/bad_mkdir.c report_test(rv, errno, EINVAL, "mkdir of empty string"); report_test 53 user/testbin/badcall/bad_open.c report_test(fd, errno, EINVAL, "open null: with bad flags"); report_test 53 user/testbin/badcall/bad_pipe.c report_test(rv, errno, EFAULT, desc); report_test 52 user/testbin/badcall/bad_readlink.c report_test(rv, errno, EINVAL, "readlink on file"); report_test 63 user/testbin/badcall/bad_readlink.c report_test(rv, errno, EISDIR, "readlink on ."); report_test 54 user/testbin/badcall/bad_reboot.c report_test(rv, errno, EINVAL, "reboot with invalid flags"); report_test 57 user/testbin/badcall/bad_remove.c report_test(rv, errno, EISDIR, "remove() on a directory"); report_test 45 user/testbin/badcall/bad_rename.c report_test(rv, errno, EINVAL, "rename ."); report_test 58 user/testbin/badcall/bad_rename.c report_test(rv, errno, EINVAL, "rename .."); report_test 55 user/testbin/badcall/bad_rmdir.c report_test(rv, errno, ENOTDIR, "rmdir a file"); report_test 66 user/testbin/badcall/bad_rmdir.c report_test(rv, errno, EINVAL, "rmdir ."); report_test 85 user/testbin/badcall/bad_rmdir.c report_test(rv, errno, EINVAL, "rmdir empty string"); report_test 79 user/testbin/badcall/bad_stat.c report_test(rv, errno, EFAULT, mydesc); report_test 55 user/testbin/badcall/bad_symlink.c report_test(rv, errno, EINVAL, "symlink named empty string"); report_test 53 user/testbin/badcall/bad_time.c report_test(rv, errno, EFAULT, desc); report_test 63 user/testbin/badcall/bad_time.c report_test(rv, errno, EFAULT, desc); report_test 68 user/testbin/badcall/bad_waitpid.c report_test(rv, errno, EFAULT, desc); report_test 118 user/testbin/badcall/bad_waitpid.c report_test(rv, errno, EINVAL, "wait with bad flags"); report_test 188 user/testbin/badcall/common_buf.c report_test(rv, errno, EFAULT, mydesc); report_test 144 user/testbin/badcall/common_fds.c report_test(rv, errno, EBADF, fulldesc); report_test 166 user/testbin/badcall/common_path.c report_test(rv, errno, EFAULT, mydesc); report_test 36 user/testbin/badcall/test.h void report_test(int rv, int error, int right_error, const char *desc);