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