aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPetteri Räty <petsku@petteriraty.eu>2011-06-25 13:26:05 +0300
committerPetteri Räty <petsku@petteriraty.eu>2011-06-25 13:26:05 +0300
commita0f1ce8a10a50a732a9aaec80a51df8f72120c78 (patch)
tree562072913ba113a4eeaef94a9eb3bded9f2a2453 /test
parentMerge remote-tracking branch 'mu/break_builtin' (diff)
parentWalker: support arithmetic expression (diff)
downloadlibbash-a0f1ce8a10a50a732a9aaec80a51df8f72120c78.tar.gz
libbash-a0f1ce8a10a50a732a9aaec80a51df8f72120c78.tar.bz2
libbash-a0f1ce8a10a50a732a9aaec80a51df8f72120c78.zip
Merge remote-tracking branch 'mu/fix_arithmetic'
Diffstat (limited to 'test')
-rwxr-xr-xtest/ast_printer_test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ast_printer_test.sh b/test/ast_printer_test.sh
index e0c930f..376b339 100755
--- a/test/ast_printer_test.sh
+++ b/test/ast_printer_test.sh
@@ -10,6 +10,10 @@ error+=$?
| diff -u $srcdir/bashast/features_script/features.sh.tokens -
error+=$?
+./ast_printer -w libbashWalker.tokens -f $srcdir/bashast/features_script/features.sh\
+ | diff -u $srcdir/bashast/features_script/features.sh.walker.tokens -
+error+=$?
+
./ast_printer -f $srcdir/bashast/features_script/illegal_script.sh 2 > /dev/null
if [[ $? == 0 ]]
then