From 2603fd2ba98c7719228502c3730cb412cbcc7e1a Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Sun, 10 May 2015 15:32:53 +0500 Subject: [PATCH] `rm -f ./state/empty-hd.img` before running qemu --- tests/integration/rancherostest/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/rancherostest/util.py b/tests/integration/rancherostest/util.py index d77ec9d8..de6b4994 100644 --- a/tests/integration/rancherostest/util.py +++ b/tests/integration/rancherostest/util.py @@ -4,7 +4,7 @@ import time def run_qemu(request, run_args=[]): - subprocess.check_call('rm ./state/*', shell=True) + subprocess.check_call('rm -f ./state/empty-hd.img', shell=True) print('\nrm ./state/*') print('\nStarting QEMU') p = subprocess.Popen(['./scripts/run'] + run_args,