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