summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxstat/test.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-18 16:19:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-18 16:19:53 +0000
commitcbbc55ef71948c49303f063ef2bc2e2c3f04628f (patch)
tree8129f6f849260bdd725824199d3964b00ef3f007 /testsuites/psxtests/psxstat/test.c
parent2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-cbbc55ef71948c49303f063ef2bc2e2c3f04628f.tar.bz2
2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong mode bits being set. This behavior was not POSIX compliant and has been corrected in the filesystem code.
Diffstat (limited to 'testsuites/psxtests/psxstat/test.c')
-rw-r--r--testsuites/psxtests/psxstat/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c
index 23caabcb27..00da904389 100644
--- a/testsuites/psxtests/psxstat/test.c
+++ b/testsuites/psxtests/psxstat/test.c
@@ -478,10 +478,12 @@ void Cause_faults()
* Verify chmod with an invalid type.
*/
+#if 0
printf("\n\nPass an invalid mode to chmod should fail with EPERM \n" );
status = chmod( Files[0], S_IFREG );
assert( status == -1 );
assert( errno == EPERM );
+#endif
/*
* Change file to executable then try to chdir to it.