about summary refs log tree commit diff
path: root/Test/A01grammar.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-01 15:07:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-01 15:07:25 +0000
commit041057687fc1d4a2f9912fcb86e04517686b3642 (patch)
tree0f0d181cebf9c50bf3e2d9d4a50643eafde9a140 /Test/A01grammar.ztst
parent88d07936a21c262ec5f86518cce3c85fd1951968 (diff)
downloadzsh-041057687fc1d4a2f9912fcb86e04517686b3642.tar.gz
zsh-041057687fc1d4a2f9912fcb86e04517686b3642.tar.xz
zsh-041057687fc1d4a2f9912fcb86e04517686b3642.zip
27083: non-zero status on failures to find or execute file in "."
Diffstat (limited to 'Test/A01grammar.ztst')
-rw-r--r--Test/A01grammar.ztst9
1 files changed, 8 insertions, 1 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 9d9f49860..3d0337a1c 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -514,4 +514,11 @@
 >value
 >not#comment
 
-  
+  . ./nonexistent
+129: Attempt to "." non-existent file.
+?(eval):.:1: no such file or directory: ./nonexistent
+
+  echo '[[' >bad_syntax
+  . ./bad_syntax
+128: Attempt to "." file with bad syntax.
+?./bad_syntax:2: parse error near `\n'