]> Sergey Matveev's repositories - bfs.git/blobdiff - tests/posix/type_bind_mount.sh
tests: Use test-specific scratch directories
[bfs.git] / tests / posix / type_bind_mount.sh
index 7852167a7f479f4b3fc9410c47fb307ed0029d88..97b730501e48f0ae475ec22a49e2aaee46f8098b 100644 (file)
@@ -1,9 +1,9 @@
 test "$UNAME" = "Linux" || skip
 
-clean_scratch
-"$XTOUCH" scratch/{file,null}
+cd "$TEST"
+"$XTOUCH" file null
 
-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 scratch -type c
+bfs_diff . -type c