source: rtems/testsuites/psxtests/psxmount/psxmount.scn @ 1e566bbb

4.104.114.84.95
Last change on this file since 1e566bbb was 1e566bbb, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/17/00 at 19:06:40

2000-11-17 Jennifer Averret <jennifer@…>

  • psxmount/test.c, psxmount/psxmount.scn: Improve output to report expected error condition in one case.
  • psxreaddir/test.c, psxreaddir.scn: Added test cases to exercise readdir() of root of mounted filesystem. Also corrected the screen file for some mistakes noticed in this effort.
  • Property mode set to 100644
File size: 3.6 KB
Line 
1
2
3*** MOUNT/UNMOUNT TEST ***
4
5chdir to the root directory
6chdir() status : 0
7
8
9Creating a series of directories under /
10Creating :                         a  0 0    Success
11Creating :                         b  0 0    Success
12Creating :                         c  0 0    Success
13Creating :                         d  0 0    Success
14Creating :                         e  0 0    Success
15Creating :                         f  0 0    Success
16Creating :                       c/y  0 0    Success
17Creating :                       c/z  0 0    Success
18Creating :                       c/x  0 0    Success
19Creating :                 c/y/a3333  0 0    Success
20Creating :                  c/y/j123  0 0    Success
21Creating :        c/y/my_mount_point  0 0    Success
22Creating : c/y/my_mount_point/my_dir  0 0    Success
23Creating :        c/z/my_mount_point  0 0    Success
24create /b/my_file
25Verify /b/my_file
26create c/y/my_mount_point/my_dir/d
27Verify c/y/my_mount_point/my_dir/d
28Attempting to mount IMFS file system at /c/z/my_mount_point
292nd file system successfully mounted at /c/z/my_mount_point
30
31chdir to /c/z/my_mount_point.
32chdir() status : 0
33
34
35Creating a series of directories under /c/z/my_mount_point
36Creating:                                              a   0 2    Success
37Creating:                                              b   0 2    Success
38Creating:                                              c   0 2    Success
39Creating:                                              d   0 2    Success
40Creating:                                              e   0 2    Success
41Creating:                                              f   0 2    Success
42Creating:                                            c/y   0 2    Success
43Creating:                                            c/z   0 2    Success
44Creating:                                            c/x   0 2    Success
45Creating:                                      c/y/a3333   0 2    Success
46Creating:                                       c/y/j123   0 2    Success
47Creating:                             c/y/my_mount_point   0 2    Success
48Creating:                      c/y/my_mount_point/my_dir   0 2    Success
49Creating:                    c/y/my_mount_point/my_dir/d   0 2    Success
50Creating:                             c/z/my_mount_point   0 2    Success
51Creating: /c/z/my_mount_point/a/../../my_mount_point/a/g   0 2    Success
52
53chdir to /
54chdir() status : 0
55
56Unmount status: 0
57Mount a NULL file system and verify EINVAL
58mount with option of -62 should fail with EINVAL
59Mount a Read Only filesystem at /c/y/my_mount_point
60Read only file system successfully mounted at /c/y/my_mount_point
61create c/y/my_mount_point/../../y/my_mount_point/new_dir
62Verify a mount point returns EBUSY for another mount
63Mount on a file should fail with ENOTDIR
64Create and chdir to /c/y/my_mount_point/mydir
65unmount of /c/y/my_mount_point should fail with EBUSY
66chdir to / and verify we can unmount /c/y/my_mount_point
67unmount /c/y/my_mount_point
68unmount /b/mount_point should fail with EINVAL
69Mount /c/y/my_mount_point
70Create and open /c/y/my_mount_point/my_file
71
72mkdir /c/y/my_mount_point/my_dir
73Open /c/y/my_mount_point/my_dir
74Unmount /c/y/my_mount_point should fail with EBUSY
75Close /c/y/my_mount_point/my_dir
76Unmount /c/y/my_mount_point/my_dir should fail with EACCES
77Mount a file system at /c/y/my_mount_point/my_dir
78unmount /c/y/my_mount_point should fail with EBUSY
79Verify a hard link across filesystems fails with EXDEV
80Verify a symbolic link across file systems works
81unmount /c/y/my_mount_point/my_dir
82Verify the symbolic link now fails
83unmount /c/y/my_mount_point
84
85
86*** END OF MOUNT/UNMOUNT TEST ***
Note: See TracBrowser for help on using the repository browser.