diff options
author | 2011-07-27 19:06:53 +0800 | |
---|---|---|
committer | 2011-08-02 15:52:18 +0800 | |
commit | 2afd34d4fef6dbdfb9afa2a371303dcf2fa4ab6e (patch) | |
tree | 0d80d50146d1eaca9d56b229e584703026f8798d /test | |
parent | Parser: support empty command with redirection (diff) | |
download | libbash-2afd34d4fef6dbdfb9afa2a371303dcf2fa4ab6e.tar.gz libbash-2afd34d4fef6dbdfb9afa2a371303dcf2fa4ab6e.tar.bz2 libbash-2afd34d4fef6dbdfb9afa2a371303dcf2fa4ab6e.zip |
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".
Diffstat (limited to 'test')
-rwxr-xr-x | test/verify_error_output_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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"* ]] |