diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-16 19:19:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-16 19:19:09 +0000 |
commit | 24db9ba8bb65aae0cd7cccb05054320e021f0741 (patch) | |
tree | 1777855aca92504b73a4e49e887350594e8c99b0 /testsuites/psxtests/psxchroot01/psxchroot01.scn | |
parent | 2010-07-16 Bharath Suri <bharath.s.jois@gmail.com> (diff) | |
download | rtems-24db9ba8bb65aae0cd7cccb05054320e021f0741.tar.bz2 |
2010-07-17 Bharath Suri <bharath.s.jois@gmail.com>
PR 1622/testing
* psxchroot01/test.c, psxchroot01/psxchroot01.scn: Added two test
cases to completely cover chroot().
Diffstat (limited to 'testsuites/psxtests/psxchroot01/psxchroot01.scn')
-rw-r--r-- | testsuites/psxtests/psxchroot01/psxchroot01.scn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxchroot01/psxchroot01.scn b/testsuites/psxtests/psxchroot01/psxchroot01.scn index 519f2735b8..df79f8bb0f 100644 --- a/testsuites/psxtests/psxchroot01/psxchroot01.scn +++ b/testsuites/psxtests/psxchroot01/psxchroot01.scn @@ -1,6 +1,8 @@ - *** CHROOT01 TEST *** +allocate most of memory - attempt to fail chroot - expect ENOTSUP +freeing the allocated memory +chroot with bad path - expect EFAULT SUCCESS on /one/one.test SUCCESS on /two/two.test Reset the private environment |