Prevent .swp files from causing the tests to hang in Vim 8

This commit is contained in:
w0rp 2017-08-22 21:08:32 +01:00
parent 9d3bda4441
commit 47a8ebc8b9
1 changed files with 3 additions and 0 deletions

View File

@ -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"