diff --git a/simple-test.sh b/simple-test.sh index 53dde4d..93ba06b 100755 --- a/simple-test.sh +++ b/simple-test.sh @@ -88,6 +88,7 @@ function do_read_operations() } function cleanup() { + cd "$root_pwd" cat /proc/mounts | awk '$3 ~ /^simplefs$/ {print $2}' | xargs -r umount lsmod | grep -q simplefs && rmmod "$root_pwd/simplefs.ko"