mirror of
https://github.com/psankar/simplefs.git
synced 2025-07-21 21:14:30 +02:00
simple-test: more accurate grep for /proc/mounts
This commit is contained in:
parent
0fb2c3b7c1
commit
e1df255a33
@ -88,7 +88,7 @@ function do_read_operations()
|
||||
}
|
||||
function cleanup()
|
||||
{
|
||||
cat /proc/mounts | grep simplefs | awk '{print $2}' | xargs -r umount
|
||||
cat /proc/mounts | fgrep ' simplefs ' | awk '{print $2}' | xargs -r umount
|
||||
lsmod | grep -q simplefs && rmmod "$root_pwd/simplefs.ko"
|
||||
|
||||
# TODO: prompt deletion
|
||||
|
Loading…
x
Reference in New Issue
Block a user