summaryrefslogtreecommitdiffstats
path: root/tests/posix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/posix')
-rw-r--r--tests/posix/L_xdev.sh2
-rw-r--r--tests/posix/depth_error.sh2
-rw-r--r--tests/posix/type_bind_mount.sh2
-rw-r--r--tests/posix/xdev.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/posix/L_xdev.sh b/tests/posix/L_xdev.sh
index c18a39e..ddbadd8 100644
--- a/tests/posix/L_xdev.sh
+++ b/tests/posix/L_xdev.sh
@@ -5,7 +5,7 @@ clean_scratch
mkdir scratch/{foo,mnt}
sudo mount -t tmpfs tmpfs scratch/mnt
ln -s ../mnt scratch/foo/bar
-$TOUCH scratch/mnt/baz
+"$XTOUCH" scratch/mnt/baz
ln -s ../mnt/baz scratch/foo/qux
bfs_diff -L scratch -xdev
diff --git a/tests/posix/depth_error.sh b/tests/posix/depth_error.sh
index e1267f4..f770210 100644
--- a/tests/posix/depth_error.sh
+++ b/tests/posix/depth_error.sh
@@ -1,5 +1,5 @@
clean_scratch
-touchp scratch/foo/bar
+"$XTOUCH" -p scratch/foo/bar
chmod a-r scratch/foo
bfs_diff scratch -depth
diff --git a/tests/posix/type_bind_mount.sh b/tests/posix/type_bind_mount.sh
index e05baa3..445f6ef 100644
--- a/tests/posix/type_bind_mount.sh
+++ b/tests/posix/type_bind_mount.sh
@@ -2,7 +2,7 @@ skip_unless test "$SUDO"
skip_unless test "$UNAME" = "Linux"
clean_scratch
-$TOUCH scratch/{file,null}
+"$XTOUCH" scratch/{file,null}
sudo mount --bind /dev/null scratch/null
bfs_diff scratch -type c
diff --git a/tests/posix/xdev.sh b/tests/posix/xdev.sh
index 7c26c3f..4591940 100644
--- a/tests/posix/xdev.sh
+++ b/tests/posix/xdev.sh
@@ -4,7 +4,7 @@ skip_if test "$UNAME" = "Darwin"
clean_scratch
mkdir scratch/{foo,mnt}
sudo mount -t tmpfs tmpfs scratch/mnt
-$TOUCH scratch/foo/bar scratch/mnt/baz
+"$XTOUCH" scratch/foo/bar scratch/mnt/baz
bfs_diff scratch -xdev
ret=$?