diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-07 15:10:50 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-07 15:10:50 -0500 |
commit | 2d5edb37b924715b4fbee4d917ac334c773fca61 (patch) | |
tree | f4b73d20f42e18c99585823e33cbc1eb1261651a /tests/common/L_mount.sh | |
parent | 3139cbc56a08ac76bccfe223dd2669f3f080c927 (diff) |
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/common/L_mount.sh')
-rw-r--r-- | tests/common/L_mount.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/L_mount.sh b/tests/common/L_mount.sh index d9e1dec..dad7e00 100644 --- a/tests/common/L_mount.sh +++ b/tests/common/L_mount.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 -mount |