From ad29258c8c2785796d3149c6c230e55d9debc82b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 1 Jul 2011 15:23:01 +0000 Subject: 29530: ${...?...} shouldn't cause an error with NO_EXEC option --- Test/E01options.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 4b53840c6..1bbfdbda1 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -353,6 +353,10 @@ echo *NonExistentFile*) 0:NO_EXEC option should not do globbing + (setopt noexec + echo ${unset_var?Not an error}) +0:NO_EXEC should not test for unset variables + setopt NO_eval_lineno eval 'print $LINENO' setopt eval_lineno -- cgit 1.4.1