summaryrefslogtreecommitdiffstats
path: root/tests/gnu/xtype_bind_mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/xtype_bind_mount.sh')
-rw-r--r--tests/gnu/xtype_bind_mount.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/gnu/xtype_bind_mount.sh b/tests/gnu/xtype_bind_mount.sh
index 1cc20ec..35fb3f5 100644
--- a/tests/gnu/xtype_bind_mount.sh
+++ b/tests/gnu/xtype_bind_mount.sh
@@ -1,10 +1,10 @@
test "$UNAME" = "Linux" || skip
-clean_scratch
-"$XTOUCH" scratch/{file,null}
-ln -s /dev/null scratch/link
+cd "$TEST"
+"$XTOUCH" file null
+ln -s /dev/null link
-bfs_sudo mount --bind /dev/null scratch/null || skip
-defer bfs_sudo umount scratch/null
+bfs_sudo mount --bind /dev/null null || skip
+defer bfs_sudo umount null
-bfs_diff -L scratch -type c
+bfs_diff . -xtype c