From 0dee858c65650bcf23acab846f4ea9e8c84ff6e9 Mon Sep 17 00:00:00 2001 From: Josh Wainwright Date: Wed, 20 Apr 2016 09:22:20 +0100 Subject: Run vim with `-u NONE` to ignore vimrc This might not be the best way to specify this, but the tests were failing for me as vim was using my vimrc and so picking up my own keybindings. --- vim/test.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'vim') diff --git a/vim/test.sh b/vim/test.sh index 3734268..7eb439d 100755 --- a/vim/test.sh +++ b/vim/test.sh @@ -23,6 +23,7 @@ for t in $TESTS; do VIM_OUT="$t.$VIM.out" printf "Running test %s with %s ... " "$t" "$e" rm -f "$OUT" "$ERR" + [ "$e" = "$VIM" ] && EDITOR="$VIM -u NONE" { cat "$t.keys"; printf ":wq! $OUT"; } | cpp -P 2>/dev/null | ../util/keys | $EDITOR "$t.in" 2> /dev/null if [ "$e" = "$VIM" ]; then if [ -e "$REF" ]; then -- cgit v1.2.3