aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rwxr-xr-xlua/test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/test.sh b/lua/test.sh
index 4209f5c..d0e6a1a 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -18,9 +18,10 @@ for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
t=${t#./}
- $VIS "$t".in < /dev/null 2> /dev/null
-
printf "%-30s" "$t"
+
+ $VIS "$t".in < /dev/null > /dev/null 2>&1
+
if [ -e "$t".out ]; then
if cmp -s "$t".ref "$t".out 2> /dev/null; then
printf "PASS\n"