From 47a8ebc8b9ae76ee2b23e388d30324b97e102eed Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 22 Aug 2017 21:08:32 +0100 Subject: [PATCH] Prevent .swp files from causing the tests to hang in Vim 8 --- run-tests | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-tests b/run-tests index eb398d0d..316eb6c9 100755 --- a/run-tests +++ b/run-tests @@ -82,6 +82,9 @@ if [ $# -ne 0 ]; then tests="$*" fi +# Delete .swp files in the test directory, which cause Vim 8 to hang. +find test -name '*.swp' -delete + docker images -q w0rp/ale | grep "^$CURRENT_IMAGE_ID" > /dev/null \ || docker pull "$IMAGE"