1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00

IT: cleanup properly before starting

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
Jean-Laurent de Morlhon
2015-11-18 11:48:27 +01:00
parent ad5fd0f976
commit f2fe553280

View File

@@ -73,6 +73,11 @@ export -f machine
touch "$BATS_LOG"
rm "$BATS_LOG"
cleanup_machines
if [[ -d "$MACHINE_STORAGE_PATH" ]]; then
rm -r "$MACHINE_STORAGE_PATH"
fi
run_bats "$BATS_FILE"
if [[ -d "$MACHINE_STORAGE_PATH" ]]; then