diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-17 12:07:15 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-17 12:07:15 +0100 |
| commit | 8052572a1721bc6a81f631b9738210a49473de53 (patch) | |
| tree | d60485927e25b645ad19796797a6a55d746c389e /vim | |
| parent | 8a3529541a6758ed6473d41837336b22b4f84406 (diff) | |
| download | vis-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-x | vim/test.sh | 2 |
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 |
