diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/ast_printer_test.sh | 4 |
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 |