summaryrefslogtreecommitdiffstats
path: root/tests/common/inum_mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/inum_mount.sh')
-rw-r--r--tests/common/inum_mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/inum_mount.sh b/tests/common/inum_mount.sh
index a4832e4..1bf2d86 100644
--- a/tests/common/inum_mount.sh
+++ b/tests/common/inum_mount.sh
@@ -4,6 +4,6 @@ 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
bfs_diff scratch -inum "$(inum scratch/mnt)"