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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user