From 1aec003155e8ccd8e0e3b9a6bd8c9fdb141d5c81 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 21 Jan 2016 16:30:21 +0000 Subject: 37722: test builtin should return status 2 on syntax error --- Test/C02cond.ztst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Test/C02cond.ztst') diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 0b4608a21..88cad0d64 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -223,27 +223,27 @@ F:Failures in these cases do not indicate a problem in the shell. 0:substitution in `[' builtin [ -n foo scrimble ] -1:argument checking for [ builtin +2:argument checking for [ builtin ?(eval):[:1: too many arguments test -n foo scramble -1:argument checking for test builtin +2:argument checking for test builtin ?(eval):test:1: too many arguments [ -n foo scrimble scromble ] -1:argument checking for [ builtin +2:argument checking for [ builtin ?(eval):[:1: too many arguments test -n foo scramble scrumble -1:argument checking for test builtin +2:argument checking for test builtin ?(eval):test:1: too many arguments [ -n foo -a -n bar scrimble ] -1:argument checking for [ builtin +2:argument checking for [ builtin ?(eval):[:1: too many arguments test -n foo -a -z "" scramble -1:argument checking for test builtin +2:argument checking for test builtin ?(eval):test:1: too many arguments fn() { -- cgit 1.4.1