1 | *** MOUNT/UNMOUNT TEST *** |
---|
2 | |
---|
3 | chdir to the root directory |
---|
4 | chdir() status : 0 |
---|
5 | |
---|
6 | |
---|
7 | Creating a series of directories under / |
---|
8 | Creating : a 0 0 Success |
---|
9 | Creating : b 0 0 Success |
---|
10 | Creating : c 0 0 Success |
---|
11 | Creating : d 0 0 Success |
---|
12 | Creating : e 0 0 Success |
---|
13 | Creating : f 0 0 Success |
---|
14 | Creating : c/y 0 0 Success |
---|
15 | Creating : c/z 0 0 Success |
---|
16 | Creating : c/x 0 0 Success |
---|
17 | Creating : c/y/a3333 0 0 Success |
---|
18 | Creating : c/y/j123 0 0 Success |
---|
19 | Creating : c/y/my_mount_point 0 0 Success |
---|
20 | Creating : c/y/my_mount_point/my_dir 0 0 Success |
---|
21 | Creating : c/z/my_mount_point 0 0 Success |
---|
22 | create /b/my_file |
---|
23 | Verify /b/my_file |
---|
24 | create c/y/my_mount_point/my_dir/d |
---|
25 | Verify c/y/my_mount_point/my_dir/d |
---|
26 | Attempting to mount IMFS file system at /c/z/my_mount_point |
---|
27 | 2nd file system successfully mounted at /c/z/my_mount_point |
---|
28 | |
---|
29 | chdir to /c/z/my_mount_point. |
---|
30 | chdir() status : 0 |
---|
31 | |
---|
32 | |
---|
33 | Creating a series of directories under /c/z/my_mount_point |
---|
34 | Creating: a 0 0 Success |
---|
35 | Creating: b 0 0 Success |
---|
36 | Creating: c 0 0 Success |
---|
37 | Creating: d 0 0 Success |
---|
38 | Creating: e 0 0 Success |
---|
39 | Creating: f 0 0 Success |
---|
40 | Creating: c/y 0 0 Success |
---|
41 | Creating: c/z 0 0 Success |
---|
42 | Creating: c/x 0 0 Success |
---|
43 | Creating: c/y/a3333 0 0 Success |
---|
44 | Creating: c/y/j123 0 0 Success |
---|
45 | Creating: c/y/my_mount_point 0 0 Success |
---|
46 | Creating: c/y/my_mount_point/my_dir 0 0 Success |
---|
47 | Creating: c/y/my_mount_point/my_dir/d 0 0 Success |
---|
48 | Creating: c/z/my_mount_point 0 0 Success |
---|
49 | Creating: /c/z/my_mount_point/a/../../my_mount_point/a/g 0 0 Success |
---|
50 | |
---|
51 | chdir to / |
---|
52 | chdir() status : 0 |
---|
53 | |
---|
54 | Unmount status: 0 |
---|
55 | Mount a NULL file system and verify EINVAL |
---|
56 | mount with option of -62 should fail with EINVAL |
---|
57 | Mount a Read Only filesystem at /c/y/my_mount_point |
---|
58 | Read only file system successfully mounted at /c/y/my_mount_point |
---|
59 | create c/y/my_mount_point/../../y/new_dir |
---|
60 | Verify a mount point returns EROFS for another mount |
---|
61 | Unmount /c/y/my_mount_point |
---|
62 | Mount a read-write file system at /c/y/my_mount_point |
---|
63 | Verify a mount point returns EBUSY for another mount |
---|
64 | Mount on a file should fail with ENOTDIR |
---|
65 | Create and chdir to /c/y/my_mount_point/mydir |
---|
66 | unmount of /c/y/my_mount_point should fail with EBUSY |
---|
67 | chroot to /c/y/my_mount_point |
---|
68 | unmount of . should fail with EBUSY |
---|
69 | chroot to / and verify we can unmount /c/y/my_mount_point |
---|
70 | unmount of /c/y/my_mount_point |
---|
71 | chdir to /c/y/my_mount_point/my_dir should fail with ENOENT |
---|
72 | unmount /b/mount_point should fail with EINVAL |
---|
73 | Mount /c/y/my_mount_point |
---|
74 | Create and open /c/y/my_mount_point/my_file |
---|
75 | |
---|
76 | mkdir /c/y/my_mount_point/my_sub_fs_dir |
---|
77 | open /c/y/my_mount_point/my_sub_fs_dir |
---|
78 | close /c/y/my_mount_point/my_sub_fs_dir |
---|
79 | mkdir /c/y/my_mount_point/my_sub_fs_dir should fail with EEXIST |
---|
80 | unmount /c/y/my_mount_point |
---|
81 | mkdir /c/y/my_mount_point/my_sub_fs_dir |
---|
82 | rmdir /c/y/my_mount_point/my_sub_fs_dir |
---|
83 | Unmount /c/y/my_mount_point/my_dir should fail with EACCES |
---|
84 | Mount a file system at /c/y/my_mount_point |
---|
85 | Verify a hard link across filesystems fails with EXDEV |
---|
86 | Verify a symbolic link across file systems works |
---|
87 | unmount /c/y/my_mount_point |
---|
88 | Verify the symbolic link now fails |
---|
89 | |
---|
90 | |
---|
91 | *** END OF MOUNT/UNMOUNT TEST *** |
---|