1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
*** FILE SYSTEM TEST ( IMFS ) ***
Initializing filesystem IMFS
*** ERROR TEST ***
Testing open with arguments: "name01, O_CREAT | O_EXCL" EXPECT "EEXIST"
PASS
Testing mkdir with arguments: "name01, mode" EXPECT "EEXIST"
PASS
Testing open with arguments: "name02, O_WRONLY" EXPECT "EISDIR"
PASS
Testing open with arguments: "name02, O_RDWR" EXPECT "EISDIR"
PASS
Testing open with arguments: "name, O_WRONLY" EXPECT "ENOENT"
PASS
Testing open with arguments: "\"\", O_WRONLY" EXPECT "ENOENT"
PASS
Testing open with arguments: "name03, O_WRONLY" EXPECT "ENOENT"
PASS
Testing mkdir with arguments: "name, mode" EXPECT "ENOENT"
PASS
Testing mkdir with arguments: "\"\", mode" EXPECT "ENOENT"
PASS
Testing open with arguments: "name, O_WRONLY" EXPECT "ENOTDIR"
PASS
Testing mkdir with arguments: "name, mode" EXPECT "ENOTDIR"
PASS
Testing close with arguments: "-1" EXPECT "EBADF"
PASS
Testing close with arguments: "100" EXPECT "EBADF"
PASS
Testing rename with arguments: "name01, name" EXPECT "EINVAL"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 156
Testing rename with arguments: "name03, name02" EXPECT "EISDIR"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 164
Testing rename with arguments: "nonexistence, name01" EXPECT "ENOENT"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 171
Testing rename with arguments: "\"\", name01" EXPECT "ENOENT"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 172
Testing rename with arguments: "name01, \"\"" EXPECT "ENOENT"
PASS
Testing rename with arguments: "name, name03" EXPECT "ENOTDIR"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 182
Testing rename with arguments: "name03, name" EXPECT "ENOTDIR"
PASS
Testing rename with arguments: "name02, name03" EXPECT "ENOTDIR"
FAIL ../../../../../../../rtems/c/src/../../testsuites/fstests/imfs_fserror/../fserror/test.c: 184
Testing truncate with arguments: "file, -1" EXPECT "EINVAL"
PASS
Testing rmdir with arguments: "\"..\"" EXPECT "ENOTEMPTY"
PASS
Testing rmdir with arguments: "\"tmp\"" EXPECT "ENOTEMPTY"
PASS
Testing rmdir with arguments: "\".\"" EXPECT "EINVAL"
PASS
Testing rmdir with arguments: "\"tmp/.\"" EXPECT "EINVAL"
PASS
Testing rmdir with arguments: "\"\"" EXPECT "ENOENT"
PASS
Testing rmdir with arguments: "nonexistence" EXPECT "ENOENT"
PASS
Testing unlink with arguments: "\"\"" EXPECT "ENOENT"
PASS
Testing unlink with arguments: "nonexistence" EXPECT "ENOENT"
PASS
Testing rmdir with arguments: "\"tmp/file\"" EXPECT "ENOTDIR"
PASS
Testing unlink with arguments: "\"tmp/file/dir\"" EXPECT "ENOTDIR"
PASS
Testing read with arguments: "fd, readbuf, 10" EXPECT "EBADF"
PASS
Testing read with arguments: "100, readbuf, 10" EXPECT "EBADF"
PASS
Testing write with arguments: "fd, databuf, 10" EXPECT "EBADF"
PASS
Testing write with arguments: "fd, readbuf, 10" EXPECT "EBADF"
PASS
Testing lseek with arguments: "fd, -100, SEEK_END" EXPECT "EINVAL"
PASS
Testing lseek with arguments: "fd, -100, SEEK_CUR" EXPECT "EINVAL"
PASS
Testing lseek with arguments: "fd, -100, SEEK_SET" EXPECT "EINVAL"
PASS
Testing lseek with arguments: "fd, huge, SEEK_END" EXPECT "EOVERFLOW"
PASS
Testing lseek with arguments: "fd, huge, SEEK_CUR" EXPECT "EOVERFLOW"
PASS
Testing lseek with arguments: "fd, 0, SEEK_SET" EXPECT "EBADF"
PASS
*** END OF ERROR TEST ***
Shutting down filesystem IMFS
*** END OF FILE SYSTEM TEST ( IMFS ) ***
|