aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-27 16:55:46 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-08-02 15:52:18 +0800
commit9042ed3ac8b75202e71e5de49376e0b1c68e847f (patch)
tree611e5275680a3dd5f61e920d546b72631c6ebc52 /test
parentParser: improve exported variable handling (diff)
downloadlibbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.tar.gz
libbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.tar.bz2
libbash-9042ed3ac8b75202e71e5de49376e0b1c68e847f.zip
Parser: support empty command with redirection
Now only '>' is supported because there would be a lot of conflicts if we want to fully support this. Also the operator other than '>' doesn't make sense.
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 48e972b..cbf6cf2 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 10 : Missing token, at offset 3"* ]]
+[[ $output == "${illegal}(1) : error 1 : Unexpected token, at offset 3"* ]]