summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfchx01/psxfchx01.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-19 13:10:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-19 13:10:46 +0000
commit4f6cff8dbf28b6319b9f125ff7239774bb87e5d4 (patch)
tree2200f676e140eef55f1b75afcf1e5f33295f4eff /testsuites/psxtests/psxfchx01/psxfchx01.scn
parent2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-4f6cff8dbf28b6319b9f125ff7239774bb87e5d4.tar.bz2
2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1838/filesystem * psxfchx01/init.c, psxfchx01/psxfchx01.scn: fchmod() does not need a writeable file descriptor.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxfchx01/psxfchx01.scn12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/psxtests/psxfchx01/psxfchx01.scn b/testsuites/psxtests/psxfchx01/psxfchx01.scn
index 85f3ce8683..d1ed655061 100644
--- a/testsuites/psxtests/psxfchx01/psxfchx01.scn
+++ b/testsuites/psxtests/psxfchx01/psxfchx01.scn
@@ -4,7 +4,7 @@ Init - Attempt fchdir with bad file descriptor - expect EBADF
Init - Attempt fchdir with bad file descriptor - expect EBADF
Init - opening /newfile in write-mode -- OK
Init - fchdir on the file descriptor - expect EINVAL
- Init - closing /newfile -- OK
+Init - closing /newfile -- OK
Init - removing /newfile -- OK
Init - opening /newfile in read-mode -- OK
Init - fchdir on the file descriptor - expect ENOTDIR
@@ -25,11 +25,11 @@ Init - fchmod tests
Init - fchmod, with a bad file descriptor - expect EBADF
Init - fchmod, with an unopened file descriptor - expect EBADF
Init - open new file: /newfile in read-only mode -- OK
-Init - fchmod, with the opened file descriptor - expect EINVAL
- Init - close and remove /newfile
+Init - fchmod, with the opened file descriptor -- OK
+Init - close and remove /newfile
Init - open new file: /newfile in read-write mode -- OK
Init - fchmod, with the opened file descriptor -- OK
- Init - close and remove /newfile -- OK
+Init - close and remove /newfile -- OK
End of fchmod tests
Init - fchown tests
@@ -37,9 +37,9 @@ Init - fchown, with a bad file descriptor - expect EBADF
Init - fchown, with an unopened file descriptor - expect EBADF
Init - open new file: /newfile in read-only mode -- OK
Init - fchown, with the opened file descriptor - expect EINVAL
- Init - close and remove /newfile
+Init - close and remove /newfile
Init - open new file: /newfile in read-write mode -- OK
Init - fchown, with the opened file descriptor -- OK
- Init - close and remove /newfile -- OK
+Init - close and remove /newfile -- OK
End of fchown tests
*** END OF TEST Posix file op tests - 01 ***