summaryrefslogtreecommitdiffstats
path: root/tests/gnu/okdir_path_relative.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-07 13:10:44 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-07 13:19:08 -0500
commit163baf1c9af13be0ce705b133e41e0c3d6427398 (patch)
tree64827684a24c345f436d1135b5b4fbe92933bd47 /tests/gnu/okdir_path_relative.sh
parentce90dc9bc00c46b27b437467bb2f053ab2307fbc (diff)
downloadbfs-163baf1c9af13be0ce705b133e41e0c3d6427398.tar.xz
parse: Reject -{exec,ok}dir if $PATH contains a relative path
This matches the behaviour of GNU find.
Diffstat (limited to 'tests/gnu/okdir_path_relative.sh')
-rw-r--r--tests/gnu/okdir_path_relative.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gnu/okdir_path_relative.sh b/tests/gnu/okdir_path_relative.sh
new file mode 100644
index 0000000..05100a1
--- /dev/null
+++ b/tests/gnu/okdir_path_relative.sh
@@ -0,0 +1 @@
+! PATH="foo:$PATH" invoke_bfs basic -okdir echo {} \;