------------------------------------------------------------------------ Test name: access03 Description: For more see 'testcases/kernel/syscalls/access/access03.c' Test Result: FAIL Details: access03 1 FAIL : access((char *)-1,R_OK) failed with errno 2 : No such file or directory but expected 14 (EFAULT) access03 2 FAIL : access((char *)-1,W_OK) failed with errno 2 : No such file or directory but expected 14 (EFAULT) access03 3 FAIL : access((char*)-1,X_OK) failed with errno 2 : No such file or directory but expected 14 (EFAULT) access03 4 FAIL : access((char*)-1,F_OK) failed with errno 2 : No such file or directory but expected 14 (EFAULT) ------------------------------------------------------------------------ Test name: access05 Description: Verify that, 1. access() fails with -1 return value and sets errno to EACCES if the permission bits of the file mode do not permit the requested (Read/Write/Execute) access. 2. access() fails with -1 return value and sets errno to EINVAL For more see 'testcases/kernel/syscalls/access/access05.c' Test Result: FAIL Details: access05 6 FAIL : access() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: chdir04 Description: For more see 'testcases/kernel/syscalls/chdir/chdir04.c' Test Result: FAIL Details: chdir04 3 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: chmod06 Description: Verify that, 1) chmod(2) returns -1 and sets errno to EPERM if the effective user id For more see 'testcases/kernel/syscalls/chmod/chmod06.c' Test Result: FAIL Details: chmod06 4 FAIL : chmod() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: chown04 Description: Verify that, 1) chown(2) returns -1 and sets errno to EPERM if the effective user id of process does not match the owner of the file and the process is not super user. 2) chown(2) returns -1 and sets errno to EACCES if search permission is denied on a component of the path prefix. 3) chown(2) returns -1 and sets errno to EFAULT if pathname points outside user's accessible address space. 4) chown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname component is too long. 5) chown(2) returns -1 and sets errno to ENOTDIR if the directory component in pathname is not a directory. 6) chown(2) returns -1 and sets errno to ENOENT if the specified file does not exists. For more see 'testcases/kernel/syscalls/chown/chown04.c' Test Result: FAIL Details: chown04 4 FAIL : chown() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: chroot03 Description: For more see 'testcases/kernel/syscalls/chroot/chroot03.c' Test Result: FAIL Details: chroot03 4 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: creat06 Description: For more see 'testcases/kernel/syscalls/creat/creat06.c' Test Result: FAIL Details: creat06 5 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: execve03 Description: For more see 'testcases/kernel/syscalls/execve/execve03.c' Test Result: FAIL Details: execve03 4 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: fdatasync02 Description: Verify that, 1. fdatasync(2) returns -1 and sets errno to EBADF for invalid file descriptor. 2. fdatasync(2) returns -1 and sets errno to EINVAL for file descriptor to a special file. Setup: Setup signal handling. Set expected errnos for logging Pause for SIGUSR1 if option specified. Test: Loop if the proper options are given. Perform testcase specific setup (if needed) Execute system call Check return code and error number, if matching, Issue PASS message Otherwise, Issue FAIL message Perform testcase specific cleanup (if needed) Cleanup: Print errno log and/or timing stats if options given For more see 'testcases/kernel/syscalls/fdatasync/fdatasync02.c' Test Result: FAIL Details: fdatasync02 2 FAIL : Unexpected results for file descriptor to a special file ; returned 0 (expected -1), errno 0 (expected 22) ------------------------------------------------------------------------ Test name: getrlimit02 Description: Verify that, 1) getrlimit(2) returns -1 and sets errno to EFAULT if an invalid For more see 'testcases/kernel/syscalls/getrlimit/getrlimit02.c' Test Result: FAIL Details: getrlimit02 2 FAIL : call failed to produce expected error; errno: 0 : Success ------------------------------------------------------------------------ Test name: ioperm02 Description: For more see 'testcases/kernel/syscalls/ioperm/ioperm02.c' Test Result: FAIL Details: ioperm02 1 FAIL : Unexpected results for Invalid I/O address ; returned 0 (expected -1), errno 0 (expected errno 22) ------------------------------------------------------------------------ Test name: lchown02 Description: Verify that, 1) lchown(2) returns -1 and sets errno to EPERM if the effective user id For more see 'testcases/kernel/syscalls/lchown/lchown02.c' Test Result: FAIL Details: lchown02 4 FAIL : lchown() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: link04 Description: For more see 'testcases/kernel/syscalls/link/link04.c' Test Result: FAIL Details: link04 7 FAIL : link(, ) Failed, errno=2, expected errno:14 link04 13 FAIL : link(, ) Failed, errno=2, expected errno:14 ------------------------------------------------------------------------ Test name: lstat02 Description: Verify that, 1) lstat(2) returns -1 and sets errno to EACCES if search permission is denied on a component of the path prefix. 2) lstat(2) returns -1 and sets errno to ENOENT if the specified file For more see 'testcases/kernel/syscalls/lstat/lstat02.c' Test Result: FAIL Details: lstat02 3 FAIL : lstat() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: mkdir01 Description: For more see 'testcases/kernel/syscalls/mkdir/mkdir01.c' Test Result: FAIL Details: mkdir01 1 FAIL : mkdir - path argument pointing below allocated address space failed with errno 2 : No such file or directory but expected 14 (EFAULT) ------------------------------------------------------------------------ Test name: mkdir03 Description: For more see 'testcases/kernel/syscalls/mkdir/mkdir03.c' Test Result: FAIL Details: mkdir03 1 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: mknod06 Description: For more see 'testcases/kernel/syscalls/mknod/mknod06.c' Test Result: FAIL Details: mknod06 3 FAIL : mknod() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: mmap05 Description: Call mmap() to map a file creating mapped memory with no access under the following conditions - For more see 'testcases/kernel/syscalls/mmap/mmap05.c' Test Result: FAIL Details: mmap05 1 FAIL : Mapped memory region with NO access is accessible ------------------------------------------------------------------------ Test name: nanosleep02 Description: Verify that nanosleep() will be successful to suspend the execution of a process, returns after the receipt of a signal and writes the remaining sleep time into the structure. For more see 'testcases/kernel/syscalls/nanosleep/nanosleep02.c' Test Result: FAIL Details: nanosleep02 1 FAIL : Remaining sleep time 3999392 usec doesn't match with the expected 3998067 usec time nanosleep02 1 FAIL : child process exited abnormally ------------------------------------------------------------------------ Test name: open08 Description: For more see 'testcases/kernel/syscalls/open/open08.c' Test Result: FAIL Details: open08 6 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: rename08 Description: For more see 'testcases/kernel/syscalls/rename/rename08.c' Test Result: FAIL Details: rename08 1 FAIL : unexpected error - 2 : No such file or directory - expected 14 rename08 2 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: rmdir02 Description: For more see 'testcases/kernel/syscalls/rmdir/rmdir02.c' Test Result: FAIL Details: rmdir02 5 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: rmdir05 Description: For more see 'testcases/kernel/syscalls/rmdir/rmdir05.c' Test Result: FAIL Details: rmdir05 4 FAIL : rmdir() - path argument points below the minimum allocated address space failed with errno 2 : No such file or directory but expected 14 (EFAULT) ------------------------------------------------------------------------ Test name: setegid01 Description: Verify that setegid does not modify the saved gid or real gid. For more see 'testcases/kernel/syscalls/setegid/setegid01.c' Test Result: FAIL Details: setegid01 1 FAIL : setegid() Failed functional test: it changed the saved set-gid ------------------------------------------------------------------------ Test name: stat03 Description: Verify that, 1) stat(2) returns -1 and sets errno to EACCES if search permission is denied on a component of the path prefix. 2) stat(2) returns -1 and sets errno to ENOENT if the specified file For more see 'testcases/kernel/syscalls/stat/stat03.c' Test Result: FAIL Details: stat03 3 FAIL : stat() fails, Negative address, errno:2, expected errno:14 ------------------------------------------------------------------------ Test name: stat06 Description: For more see 'testcases/kernel/syscalls/stat/stat06.c' Test Result: FAIL Details: stat06 7 FAIL : stat(, &stbuf) Failed, errno=2, expected errno:14 ------------------------------------------------------------------------ Test name: statfs02 Description: For more see 'testcases/kernel/syscalls/statfs/statfs02.c' Test Result: FAIL Details: statfs02 4 FAIL : unexpected error - 2 : No such file or directory - expected 14 ------------------------------------------------------------------------ Test name: symlink03 Description: Verify that, 1) symlink(2) returns -1 and sets errno to EACCES if search/write For more see 'testcases/kernel/syscalls/symlink/symlink03.c' Test Result: FAIL Details: symlink03 4 FAIL : symlink() Fails, Negative address, errno=2, expected errno=14 ------------------------------------------------------------------------ Test name: truncate03 Description: Verify that, 1) truncate(2) returns -1 and sets errno to EACCES if search/write permission denied for the process on the component of the path prefix or named file. 2) truncate(2) returns -1 and sets errno to ENOTDIR if the component of the path prefix is not a directory. 3) truncate(2) returns -1 and sets errno to EFAULT if pathname points outside user's accessible address space. 4) truncate(2) returns -1 and sets errno to ENAMETOOLONG if the component of a pathname exceeded 255 characters or entire pathname exceeds 1023 characters. 5) truncate(2) returns -1 and sets errno to ENOENT if the named file does not exist. For more see 'testcases/kernel/syscalls/truncate/truncate03.c' Test Result: FAIL Details: truncate03 4 FAIL : truncate() fails, Negative address, errno=2, expected errno:14 ------------------------------------------------------------------------ Test name: unlink07 Description: For more see 'testcases/kernel/syscalls/unlink/unlink07.c' Test Result: FAIL Details: unlink07 8 FAIL : unlink() Failed, errno=2, expected errno:14 ------------------------------------------------------------------------ Test name: write03 Description: For more see 'testcases/kernel/syscalls/write/write03.c' Test Result: FAIL Details: write03 1 FAIL : write(2) failed to fail ------------------------------------------------------------------------ Test name: write05 Description: For more see 'testcases/kernel/syscalls/write/write05.c' Test Result: FAIL Details: write05 2 FAIL : write() on an invalid buffer succeeded, but should have failed ------------------------------------------------------------------------ Test name: writev01 Description: For more see 'testcases/kernel/syscalls/writev/writev01.c' Test Result: FAIL Details: writev01 1 FAIL : writev() failed unexpectedly writev01 0 INFO : block 2 FAILED ------------------------------------------------------------------------ Test name: writev02 Description: For more see 'testcases/kernel/syscalls/writev/writev02.c' Test Result: FAIL Details: writev02 1 FAIL : Error writev returned a positive value writev02 0 INFO : block 1 FAILED ------------------------------------------------------------------------ Test name: writev05 Description: For more see 'testcases/kernel/syscalls/writev/writev05.c' Test Result: FAIL Details: writev05 1 FAIL : Error writev returned a positive value writev05 0 INFO : block 1 FAILED ------------------------------------------------------------------------ Test name: rwtest03 Description: No description available Test Result: FAIL Details: rwtest03 1 FAIL : Test failed ------------------------------------------------------------------------ Test name: rwtest04 Description: No description available Test Result: FAIL Details: rwtest04 1 FAIL : Test failed ------------------------------------------------------------------------