summaryrefslogtreecommitdiffstats
path: root/tests/bsd/flags.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-07 15:10:50 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-07 15:10:50 -0500
commit2d5edb37b924715b4fbee4d917ac334c773fca61 (patch)
treef4b73d20f42e18c99585823e33cbc1eb1261651a /tests/bsd/flags.sh
parent3139cbc56a08ac76bccfe223dd2669f3f080c927 (diff)
downloadbfs-2d5edb37b924715b4fbee4d917ac334c773fca61.tar.xz
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).
Diffstat (limited to 'tests/bsd/flags.sh')
-rw-r--r--tests/bsd/flags.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bsd/flags.sh b/tests/bsd/flags.sh
index fd25150..ffb1cc2 100644
--- a/tests/bsd/flags.sh
+++ b/tests/bsd/flags.sh
@@ -2,7 +2,7 @@ skip_unless invoke_bfs scratch -quit -flags offline
clean_scratch
-$TOUCH scratch/{foo,bar}
+"$XTOUCH" scratch/{foo,bar}
skip_unless chflags offline scratch/bar
bfs_diff scratch -flags -offline,nohidden