summaryrefslogtreecommitdiffstats
path: root/tests/posix/L_xdev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix/L_xdev.sh')
-rw-r--r--tests/posix/L_xdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/posix/L_xdev.sh b/tests/posix/L_xdev.sh
index 172ea23..d16c211 100644
--- a/tests/posix/L_xdev.sh
+++ b/tests/posix/L_xdev.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