summaryrefslogtreecommitdiffstats
path: root/tests/gnu/okdir_path_dot.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_dot.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_dot.sh')
-rw-r--r--tests/gnu/okdir_path_dot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gnu/okdir_path_dot.sh b/tests/gnu/okdir_path_dot.sh
new file mode 100644
index 0000000..5b40e27
--- /dev/null
+++ b/tests/gnu/okdir_path_dot.sh
@@ -0,0 +1 @@
+! PATH=".:$PATH" invoke_bfs basic -okdir echo {} \;