From 63ce80f847a47096db4203ea1f11bce38e67b722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 15 Nov 2016 20:40:32 +0100 Subject: 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. --- lua/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3