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/bfs/capable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bfs/capable.sh') diff --git a/tests/bfs/capable.sh b/tests/bfs/capable.sh index 6dc9bf2..256b9bc 100644 --- a/tests/bfs/capable.sh +++ b/tests/bfs/capable.sh @@ -5,7 +5,7 @@ clean_scratch skip_unless invoke_bfs scratch -quit -capable -$TOUCH scratch/{normal,capable} +"$XTOUCH" scratch/{normal,capable} sudo setcap all+ep scratch/capable ln -s capable scratch/link -- cgit v1.2.3