aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-15 20:40:32 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-16 10:15:48 +0100
commit63ce80f847a47096db4203ea1f11bce38e67b722 (patch)
treefb26084ff36074d64cf2f5ddb11f15d1bd9a129b /lua
parentdc86e7658ab4608c334c4782b98909233ab393d0 (diff)
downloadvis-63ce80f847a47096db4203ea1f11bce38e67b722.tar.gz
vis-63ce80f847a47096db4203ea1f11bce38e67b722.tar.xz
test/lua: redirect stdin and stderr to /dev/null
Redirecting stdin mimics the environment on Travis CI. Redirecting stderr should give a nicer test list output, albeit some useful messages might get lost.
Diffstat (limited to 'lua')
-rwxr-xr-xlua/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/test.sh b/lua/test.sh
index 5d9b865..00501d3 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -19,7 +19,7 @@ for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
t=${t#./}
- $VIS "$t".in
+ $VIS "$t".in < /dev/null 2> /dev/null
printf "%-30s" "$t"
if [ -e "$t".out ]; then