From 2afd34d4fef6dbdfb9afa2a371303dcf2fa4ab6e Mon Sep 17 00:00:00 2001 From: Mu Qiao Date: Wed, 27 Jul 2011 19:06:53 +0800 Subject: Builtin: reimplement the local built-in Now the local built-in is not handled only in parser grammar so that expansions can happen for the arguments. '=' is not checked in the local and export built-in anymore because we do not generate empty AST for "export foo". --- test/verify_error_output_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/verify_error_output_test.sh b/test/verify_error_output_test.sh index cbf6cf2..f6d96ed 100755 --- a/test/verify_error_output_test.sh +++ b/test/verify_error_output_test.sh @@ -2,4 +2,4 @@ illegal="${srcdir}/scripts/illegal_script.sh" output=$(./variable_printer "$illegal" 2>&1) -[[ $output == "${illegal}(1) : error 1 : Unexpected token, at offset 3"* ]] +[[ $output == *"(1) : error 1 : Unexpected token, at offset"* ]] -- cgit v1.2.3-65-gdbad