From 2d5edb37b924715b4fbee4d917ac334c773fca61 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 7 Nov 2022 15:10:50 -0500 Subject: tests/xtouch: New utility POSIX touch(1) doesn't include the -h option, and indeed OpenBSD doesn't implement it. Making our own utility also lets us add some handy extensions like -p (create parents) and -M (set permissions). --- tests/gnu/xtype_bind_mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gnu/xtype_bind_mount.sh') diff --git a/tests/gnu/xtype_bind_mount.sh b/tests/gnu/xtype_bind_mount.sh index d371cd5..264b6f8 100644 --- a/tests/gnu/xtype_bind_mount.sh +++ b/tests/gnu/xtype_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 ln -s /dev/null scratch/link -- cgit v1.2.3