summaryrefslogtreecommitdiffstats
path: root/tests/common/L_mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/L_mount.sh')
-rw-r--r--tests/common/L_mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/L_mount.sh b/tests/common/L_mount.sh
index b04acd0..aaf9069 100644
--- a/tests/common/L_mount.sh
+++ b/tests/common/L_mount.sh
@@ -4,7 +4,7 @@ clean_scratch
mkdir scratch/{foo,mnt}
bfs_sudo mount -t tmpfs tmpfs scratch/mnt || skip
-trap "bfs_sudo umount scratch/mnt" EXIT
+defer bfs_sudo umount scratch/mnt
ln -s ../mnt scratch/foo/bar
"$XTOUCH" scratch/mnt/baz