aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlua/test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/test.sh b/lua/test.sh
index 1455f3d..fd2c088 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -10,6 +10,7 @@ export VIS_PATH=.
export VIS_THEME=theme
if [ $# -gt 0 ]; then
+ printf ":help\n:w help\n:qall\n" $VIS && cat help
test_files=$*
else
test_files="$(find . -type f -name "*.in") basic_empty_file.in"
@@ -31,7 +32,7 @@ for t in $test_files; do
diff -u "$t".ref "$t".out > "$t".err
fi
else
- printf "FAIL\n"
+ printf "ERROR\n"
fi
done