summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxmount/psxmount.scn
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:41:57 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:41:57 +0000
commitc2f9b97543401e51fd2f72b71fa71bffbd209c12 (patch)
tree39ea2cbf28d7a58e978e1a63f2fae63f076f9f92 /c/src/tests/psxtests/psxmount/psxmount.scn
parentAdded Comment that a result is valid at 4 or 5 seconds. (diff)
downloadrtems-c2f9b97543401e51fd2f72b71fa71bffbd209c12.tar.bz2
Cleaned up test.
Updated scn files to match present expected test output.
Diffstat (limited to 'c/src/tests/psxtests/psxmount/psxmount.scn')
-rw-r--r--c/src/tests/psxtests/psxmount/psxmount.scn86
1 files changed, 86 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxmount/psxmount.scn b/c/src/tests/psxtests/psxmount/psxmount.scn
index e69de29bb2..a186517e4f 100644
--- a/c/src/tests/psxtests/psxmount/psxmount.scn
+++ b/c/src/tests/psxtests/psxmount/psxmount.scn
@@ -0,0 +1,86 @@
+
+
+*** MOUNT/UNMOUNT TEST ***
+
+chdir to the root directory
+chdir() status : 0
+
+
+Creating a series of directories under /
+Creating : a 0 0 Success
+Creating : b 0 0 Success
+Creating : c 0 0 Success
+Creating : d 0 0 Success
+Creating : e 0 0 Success
+Creating : f 0 0 Success
+Creating : c/y 0 0 Success
+Creating : c/z 0 0 Success
+Creating : c/x 0 0 Success
+Creating : c/y/a3333 0 0 Success
+Creating : c/y/j123 0 0 Success
+Creating : c/y/my_mount_point 0 0 Success
+Creating : c/y/my_mount_point/my_dir 0 0 Success
+Creating : c/z/my_mount_point 0 0 Success
+create /b/my_file
+Verify /b/my_file
+create c/y/my_mount_point/my_dir/d
+Verify c/y/my_mount_point/my_dir/d
+Attempting to mount IMFS file system at /c/z/my_mount_point
+2nd file system successfully mounted at /c/z/my_mount_point
+
+chdir to /c/z/my_mount_point.
+chdir() status : 0
+
+
+Creating a series of directories under /c/z/my_mount_point
+Creating: a 0 2 Success
+Creating: b 0 2 Success
+Creating: c 0 2 Success
+Creating: d 0 2 Success
+Creating: e 0 2 Success
+Creating: f 0 2 Success
+Creating: c/y 0 2 Success
+Creating: c/z 0 2 Success
+Creating: c/x 0 2 Success
+Creating: c/y/a3333 0 2 Success
+Creating: c/y/j123 0 2 Success
+Creating: c/y/my_mount_point 0 2 Success
+Creating: c/y/my_mount_point/my_dir 0 2 Success
+Creating: c/y/my_mount_point/my_dir/d 0 2 Success
+Creating: c/z/my_mount_point 0 2 Success
+Creating: /c/z/my_mount_point/a/../../my_mount_point/a/g 0 2 Success
+
+chdir to /
+chdir() status : 0
+
+Unmount status: 0
+Mount a NULL file system and verify EINVAL
+mount with option RA should fail with EINVAL
+Mount a Read Only filesystem at /c/y/my_mount_point
+Read only file system successfully mounted at /c/y/my_mount_point
+create c/y/my_mount_point/../../y/my_mount_point/new_dir
+Verify a mount point retruns EBUSY for another mount
+Mount on a file should fail with ENOTDIR
+Create and chdir to /c/y/my_mount_point/mydir
+ unmount of /c/y/my_mount_point should fail with EBUSY
+chdir to / and verify we can unmount /c/y/my_mount_point
+ unmount /c/y/my_mount_point
+ unmount /b/mount_point should fail with EINVAL
+Mount /c/y/my_mount_point
+Create and open /c/y/my_mount_point/my_file
+
+mkdir /c/y/my_mount_point/my_dir
+Open /c/y/my_mount_point/my_dir
+Unmount /c/y/my_mount_point should fail with EBUSY
+Close /c/y/my_mount_point/my_dir
+Unmount /c/y/my_mount_point/my_dir
+Mount a file system at /c/y/my_mount_point/my_dir
+unmount /c/y/my_mount_point should fail with EBUSY
+Verify a hard link across filesystems fails with EXDEV
+Verify a symbolic link across file systems works
+unmount /c/y/my_mount_point/my_dir
+Verify the symbolic link now fails
+unmount /c/y/my_mount_point
+
+
+*** END OF MOUNT/UNMOUNT TEST ***