Warning, /testsuites/fstests/fserror/mrfs_fserror.scn is written in an unsupported language. File is not indexed.
0001
0002
0003 *** FILE SYSTEM TEST ( MOUNTED RFS ) ***
0004 Initializing filesystem MOUNTED RFS
0005
0006
0007 *** ERROR TEST ***
0008 Testing open with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
0009 PASS
0010 Testing mkdir with arguments: "name01, mode" EXPECT "EEXIST"
0011 PASS
0012 Testing open with arguments: "name02, O_WRONLY" EXPECT "EISDIR"
0013 PASS
0014 Testing open with arguments: "name02, O_RDWR" EXPECT "EISDIR"
0015 PASS
0016 Testing open with arguments: "name, O_WRONLY" EXPECT "ENOENT"
0017 PASS
0018 Testing open with arguments: "\"\", O_WRONLY" EXPECT "ENOENT"
0019 PASS
0020 Testing open with arguments: "name03, O_WRONLY" EXPECT "ENOENT"
0021 PASS
0022 Testing mkdir with arguments: "name, mode" EXPECT "ENOENT"
0023 PASS
0024 Testing mkdir with arguments: "\"\", mode" EXPECT "ENOENT"
0025 PASS
0026 Testing open with arguments: "name, O_WRONLY" EXPECT "ENOTDIR"
0027 PASS
0028 Testing mkdir with arguments: "name, mode" EXPECT "ENOTDIR"
0029 PASS
0030 Testing close with arguments: "-1" EXPECT "EBADF"
0031 PASS
0032 Testing close with arguments: "100" EXPECT "EBADF"
0033 PASS
0034 Testing rename with arguments: "name01, name" EXPECT "EINVAL"
0035 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 156
0036 Testing rename with arguments: "name03, name02" EXPECT "EISDIR"
0037 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 164
0038 Testing rename with arguments: "nonexistence, name01" EXPECT "ENOENT"
0039 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 171
0040 Testing rename with arguments: "\"\", name01" EXPECT "ENOENT"
0041 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 172
0042 Testing rename with arguments: "name01, \"\"" EXPECT "ENOENT"
0043 PASS
0044 Testing rename with arguments: "name, name03" EXPECT "ENOTDIR"
0045 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 182
0046 Testing rename with arguments: "name03, name" EXPECT "ENOTDIR"
0047 PASS
0048 Testing rename with arguments: "name02, name03" EXPECT "ENOTDIR"
0049 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 184
0050 Testing truncate with arguments: "file, -1" EXPECT "EINVAL"
0051 PASS
0052 Testing rmdir with arguments: "\"..\"" EXPECT "ENOTEMPTY"
0053 FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/mrfs_fserror/../fserror/test.c: 266
0054 Testing rmdir with arguments: "\"tmp\"" EXPECT "ENOTEMPTY"
0055 PASS
0056 Testing rmdir with arguments: "\".\"" EXPECT "EINVAL"
0057 PASS
0058 Testing rmdir with arguments: "\"tmp/.\"" EXPECT "EINVAL"
0059 PASS
0060 Testing rmdir with arguments: "\"\"" EXPECT "ENOENT"
0061 PASS
0062 Testing rmdir with arguments: "nonexistence" EXPECT "ENOENT"
0063 PASS
0064 Testing unlink with arguments: "\"\"" EXPECT "ENOENT"
0065 PASS
0066 Testing unlink with arguments: "nonexistence" EXPECT "ENOENT"
0067 PASS
0068 Testing rmdir with arguments: "\"tmp/file\"" EXPECT "ENOTDIR"
0069 PASS
0070 Testing unlink with arguments: "\"tmp/file/dir\"" EXPECT "ENOTDIR"
0071 PASS
0072 Testing read with arguments: "fd, readbuf, 10" EXPECT "EBADF"
0073 PASS
0074 Testing read with arguments: "100, readbuf, 10" EXPECT "EBADF"
0075 PASS
0076 Testing write with arguments: "fd, databuf, 10" EXPECT "EBADF"
0077 PASS
0078 Testing write with arguments: "fd, readbuf, 10" EXPECT "EBADF"
0079 PASS
0080 Testing lseek with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
0081 PASS
0082 Testing lseek with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
0083 PASS
0084 Testing lseek with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
0085 PASS
0086 Testing lseek with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
0087 PASS
0088 Testing lseek with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
0089 PASS
0090 Testing lseek with arguments: "fd, 0, SEEK_SET" EXPECT "EBADF"
0091 PASS
0092 *** END OF ERROR TEST ***
0093
0094
0095 Shutting down filesystem MOUNTED RFS
0096 *** END OF FILE SYSTEM TEST ( MOUNTED RFS ) ***