diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-02 18:19:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-02 18:19:35 +0000 |
commit | 189b89efb39e047185c4189991a1bbfa792ba05c (patch) | |
tree | 080cb4dbe4d653ab136bf0185656fe628e8918f0 /testsuites/psxtests/psximfs02/psximfs02.scn | |
parent | 2010-08-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-189b89efb39e047185c4189991a1bbfa792ba05c.tar.bz2 |
2010-07-30 Bharath Suri <bharath.s.jois@gmail.com>
PR 1642/testing
* psximfs02/init.c, psximfs02/psximfs02.scn,
psximfs02/psximfs02.doc: Added test cases to exercise chmod(),
chown() and routines in imfs_debug.c.
Diffstat (limited to 'testsuites/psxtests/psximfs02/psximfs02.scn')
-rw-r--r-- | testsuites/psxtests/psximfs02/psximfs02.scn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuites/psxtests/psximfs02/psximfs02.scn b/testsuites/psxtests/psximfs02/psximfs02.scn index c225d5cc49..60fda98a4d 100644 --- a/testsuites/psxtests/psximfs02/psximfs02.scn +++ b/testsuites/psxtests/psximfs02/psximfs02.scn @@ -33,5 +33,29 @@ Attempt to create /node-slink-2 for /node -- expect ENOMEM Freeing allocated memory Allocate most of heap Attempt to create /node-slink-2 for /node -- expect ENOMEM +Freeing allocated memory Attempt to stat a hardlink -- expect ENOTSUP +Changing euid to 10 +Attempt chmod on /node -- expect EPERM +Attempt chown on /node -- expect EPERM +Changing euid back to 0 [root] +Creating a fifo -- OK +*************** Dump of Entire IMFS *************** +/ +....dev/ +........console (device 0, 0) +....dir00/ +........dir01/ +........dir01-link0 links not printed +........dir01-link1 links not printed +........dir01-link2 links not printed +........dir01-link3 links not printed +........dir01-link4 links not printed +........dir01-link5 links not printed +........dir01-link6 links not printed +....node (file 0) +....node-link links not printed +....node-slink links not printed +....fifo FIFO not printed +*************** End of Dump *************** *** END OF TEST IMFS 02 *** |