mirror of
https://github.com/psankar/simplefs.git
synced 2025-07-27 07:54:15 +02:00
simple-test: use 'umount -t /path/to/mnt' to avoid umounting extra mnts
This commit is contained in:
parent
37a08dbe63
commit
0a7059cd35
@ -89,7 +89,7 @@ function do_read_operations()
|
||||
function cleanup()
|
||||
{
|
||||
cd "$root_pwd"
|
||||
cat /proc/mounts | awk '$3 ~ /^simplefs$/ {print $2}' | xargs -r umount
|
||||
umount -t simplefs "$test_mount_point"
|
||||
lsmod | grep -q simplefs && rmmod "$root_pwd/simplefs.ko"
|
||||
|
||||
# TODO: prompt deletion
|
||||
|
Loading…
x
Reference in New Issue
Block a user