From 7b9cff2754dc7f9d0106b936d6d716148040f1e1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Apr 2005 10:23:55 +0000 Subject: 21131: exit with status 127 when script not found --- Test/A01grammar.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 15df464e0..093ef5635 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -452,3 +452,7 @@ $ZTST_testdir/../Src/zsh -f -c "'" 1:Parse error on inline command causes non-zero exit status ?zsh: unmatched ' + + $ZTST_testdir/../Src/zsh -f NonExistentScript +127q:Non-existent script causes exit status 127 +?$ZTST_testdir/../Src/zsh: can't open input file: NonExistentScript -- cgit 1.4.1