From d07d443466e2d4a00cbffa438335fc647f2e2d74 Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Thu, 5 Nov 2015 12:27:54 +0200 Subject: [PATCH] test/integration: Remove machine forcibly, without stopping Unlikely "rm -f", commands "stop" and "rm" will be failed if machine doesn't exist. Forced removing guarantees that integration tests won't fail on the cleanup step. Signed-off-by: Mikhail Zholobov --- test/integration/run-bats.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/run-bats.sh b/test/integration/run-bats.sh index 1748cba764..5c569e45ca 100755 --- a/test/integration/run-bats.sh +++ b/test/integration/run-bats.sh @@ -15,8 +15,7 @@ function quiet_run () { function cleanup_machines() { if [[ $(machine ls -q | wc -l) -ne 0 ]]; then - quiet_run machine stop $(machine ls -q) - quiet_run machine rm $(machine ls -q) + quiet_run machine rm -f $(machine ls -q) fi }