Warning, /testsuites/psxtests/psxfchx01/psxfchx01.scn is written in an unsupported language. File is not indexed.
0001 *** TEST Posix file op tests - 01 ***
0002 Init - fchdir tests
0003 Init - Attempt fchdir with bad file descriptor - expect EBADF
0004 Init - Attempt fchdir with bad file descriptor - expect EBADF
0005 Init - opening /newfile in write-mode -- OK
0006 Init - fchdir on the file descriptor - expect ENOTDIR
0007 Init - closing /newfile -- OK
0008 Init - removing /newfile -- OK
0009 Init - opening /newfile in read-mode -- OK
0010 Init - fchdir on the file descriptor - expect ENOTDIR
0011 Init - closing and removing /newfile -- OK
0012 Init - create directory /tmp - RWX permissions -- OK
0013 Init - open the /tmp, get the file descriptor -- OK
0014 Init - fchdir on the file descriptor -- OK
0015 Init - close the file descriptor -- OK
0016 Init - remove directory /tmp -- OK
0017 Init - creating directory /tmp - read permission -- OK
0018 Init - open the /tmp, get the file descriptor -- OK
0019 Init - attempt fchdir on the file descriptor -- expect EACCES
0020 Init - close the file descriptor -- OK
0021 Init - remove directory /tmp -- OK
0022 End of fchdir tests
0023
0024 Init - fchmod tests
0025 Init - fchmod, with a bad file descriptor - expect EBADF
0026 Init - fchmod, with an unopened file descriptor - expect EBADF
0027 Init - open new file: /newfile in read-only mode -- OK
0028 Init - fchmod, with the opened file descriptor -- OK
0029 Init - close and remove /newfile
0030 Init - open new file: /newfile in read-write mode -- OK
0031 Init - fchmod, with the opened file descriptor -- OK
0032 Init - close and remove /newfile -- OK
0033 End of fchmod tests
0034
0035 Init - fchown tests
0036 Init - fchown, with a bad file descriptor - expect EBADF
0037 Init - fchown, with an unopened file descriptor - expect EBADF
0038 Init - open new file: /newfile in read-only mode -- OK
0039 Init - fchown, with the opened file descriptor - expect EINVAL
0040 Init - close and remove /newfile
0041 Init - open new file: /newfile in read-write mode -- OK
0042 Init - fchown, with the opened file descriptor -- OK
0043 Init - close and remove /newfile -- OK
0044 End of fchown tests
0045 *** END OF TEST Posix file op tests - 01 ***