vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit aef77044b70458051f83c5b14c239f0d79bee16a
parent 6f329808ec7881b6caa8de84cc585a981fdb1749
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 15 Nov 2016 20:40:32 +0100

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:
Mlua/test.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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