aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-05 11:46:01 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-07-06 16:02:03 +0800
commit75705b99bb90701616cb0c100a8703e21710f897 (patch)
tree230343b6154ea442a74ae58810ba711e064a6e37 /test
parentMerge branch 'multithreading' (diff)
downloadlibbash-75705b99bb90701616cb0c100a8703e21710f897.tar.gz
libbash-75705b99bb90701616cb0c100a8703e21710f897.tar.bz2
libbash-75705b99bb90701616cb0c100a8703e21710f897.zip
Parser: reduce backtracking for command_atom
Backtracking is reduced by left refactoring function definition and bash command.
Diffstat (limited to 'test')
-rwxr-xr-xtest/verify_error_output_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/verify_error_output_test.sh b/test/verify_error_output_test.sh
index 4bb0465..b3c2eed 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 3 : "???":1: command_atom : ( compound_command | function | simple_command );, at offset 3"* ]]
+[[ $output == "${illegal}(1) : error 5 : Unexpected token, at offset 3"* ]]