aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-17 12:07:15 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-17 12:07:15 +0100
commit8052572a1721bc6a81f631b9738210a49473de53 (patch)
treed60485927e25b645ad19796797a6a55d746c389e /vim
parent8a3529541a6758ed6473d41837336b22b4f84406 (diff)
downloadvis-8052572a1721bc6a81f631b9738210a49473de53.tar.gz
vis-8052572a1721bc6a81f631b9738210a49473de53.tar.xz
test/vim: redirect both stdout and stderr to /dev/null
This should make the list of tests more readable.
Diffstat (limited to 'vim')
-rwxr-xr-xvim/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/test.sh b/vim/test.sh
index 99a1c94..4ce0182 100755
--- a/vim/test.sh
+++ b/vim/test.sh
@@ -26,7 +26,7 @@ for t in $TESTS; do
printf "Running test %s with %s ... " "$t" "$e"
rm -f "$OUT" "$ERR"
[ "$e" = "$VIM" ] && EDITOR="$VIM -u NONE -U NONE -N -i NONE"
- { cat "$t.keys"; printf "<Escape>:w! $OUT<Enter>:qall!<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" 2> /dev/null
+ { cat "$t.keys"; printf "<Escape>:w! $OUT<Enter>:qall!<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" >/dev/null 2>&1
if [ "$e" = "$VIM" ]; then
if [ -e "$REF" ]; then
if cmp -s "$REF" "$OUT"; then