1 | *** TEST Posix file op tests - 01 *** |
---|
2 | Init - fchdir tests |
---|
3 | Init - Attempt fchdir with bad file descriptor - expect EBADF |
---|
4 | Init - Attempt fchdir with bad file descriptor - expect EBADF |
---|
5 | Init - opening /newfile in write-mode -- OK |
---|
6 | Init - fchdir on the file descriptor - expect EINVAL |
---|
7 | Init - closing /newfile -- OK |
---|
8 | Init - removing /newfile -- OK |
---|
9 | Init - opening /newfile in read-mode -- OK |
---|
10 | Init - fchdir on the file descriptor - expect ENOTDIR |
---|
11 | Init - closing and removing /newfile -- OK |
---|
12 | Init - create directory /tmp - RWX permissions -- OK |
---|
13 | Init - open the /tmp, get the file descriptor -- OK |
---|
14 | Init - fchdir on the file descriptor -- OK |
---|
15 | Init - close the file descriptor -- OK |
---|
16 | Init - remove directory /tmp -- OK |
---|
17 | Init - creating directory /tmp - read permission -- OK |
---|
18 | Init - open the /tmp, get the file descriptor -- OK |
---|
19 | Init - attempt fchdir on the file descriptor -- expect EACCES |
---|
20 | Init - close the file descriptor -- OK |
---|
21 | Init - remove directory /tmp -- OK |
---|
22 | End of fchdir tests |
---|
23 | |
---|
24 | Init - fchmod tests |
---|
25 | Init - fchmod, with a bad file descriptor - expect EBADF |
---|
26 | Init - fchmod, with an unopened file descriptor - expect EBADF |
---|
27 | Init - open new file: /newfile in read-only mode -- OK |
---|
28 | Init - fchmod, with the opened file descriptor -- OK |
---|
29 | Init - close and remove /newfile |
---|
30 | Init - open new file: /newfile in read-write mode -- OK |
---|
31 | Init - fchmod, with the opened file descriptor -- OK |
---|
32 | Init - close and remove /newfile -- OK |
---|
33 | End of fchmod tests |
---|
34 | |
---|
35 | Init - fchown tests |
---|
36 | Init - fchown, with a bad file descriptor - expect EBADF |
---|
37 | Init - fchown, with an unopened file descriptor - expect EBADF |
---|
38 | Init - open new file: /newfile in read-only mode -- OK |
---|
39 | Init - fchown, with the opened file descriptor - expect EINVAL |
---|
40 | Init - close and remove /newfile |
---|
41 | Init - open new file: /newfile in read-write mode -- OK |
---|
42 | Init - fchown, with the opened file descriptor -- OK |
---|
43 | Init - close and remove /newfile -- OK |
---|
44 | End of fchown tests |
---|
45 | *** END OF TEST Posix file op tests - 01 *** |
---|