aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-17 10:36:07 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-17 10:36:07 +0100
commit51262d198783f278520ee1dd10313539d2b90363 (patch)
tree9386dd5a60cc5ed8b287c8564f1ff007e0695822
parent468303ad9ec5dc0543cd8f6e5d39d52955844a8d (diff)
downloadvis-51262d198783f278520ee1dd10313539d2b90363.tar.gz
vis-51262d198783f278520ee1dd10313539d2b90363.tar.xz
test/vim: remove trailing white spaces after pre-processing keys file
Analogous to the previous commit.
-rwxr-xr-xvim/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/test.sh b/vim/test.sh
index e8b02c2..35d76a5 100755
--- a/vim/test.sh
+++ b/vim/test.sh
@@ -24,7 +24,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>:wq! $OUT<Enter>"; } | cpp -P 2>/dev/null | ../util/keys | $EDITOR "$t.in" 2> /dev/null
+ { cat "$t.keys"; printf "<Escape>:wq! $OUT<Enter>\n"; } | cpp -P 2>/dev/null | sed 's/[ \t]*$//' | ../util/keys | $EDITOR "$t.in" 2> /dev/null
if [ "$e" = "$VIM" ]; then
if [ -e "$REF" ]; then
if cmp -s "$REF" "$OUT"; then