about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-11 02:25:21 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-17 15:28:42 +0000
commitc392e6c620163b84798e705dfd6608d6429b9677 (patch)
tree25439f6a6c66cc2a183f0dbba3271d74c715d36f /Test/E01options.ztst
parent0a6098a1d4debda1d57f4a7cd42bb5c49d65cddc (diff)
downloadzsh-c392e6c620163b84798e705dfd6608d6429b9677.tar.gz
zsh-c392e6c620163b84798e705dfd6608d6429b9677.tar.xz
zsh-c392e6c620163b84798e705dfd6608d6429b9677.zip
39915: whence: Honor PATH_DIRS option for arguments that start with './' or '../'.
While here, add some docstrings.
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 40e96afc9..45df9f572 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -784,6 +784,10 @@
 >unsetting option...
 ?(eval):14: no such file or directory: pathtestdir/findme
 
+  (setopt pathdirs; path+=( /usr/bin ); type ./env)
+1:whence honours PATH_DIRS option
+>./env not found
+
   setopt posixbuiltins
   PATH= command -v print
   PATH= command -V print