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