From e6692977928f65bb8d5966317ae925361d61ee4d Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 8 Apr 2013 10:00:57 +0000 Subject: fix --- src/integration-tests/test_integration_restart.py.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/integration-tests/test_integration_restart.py.in b/src/integration-tests/test_integration_restart.py.in index 70d10be24..a14f5ac03 100755 --- a/src/integration-tests/test_integration_restart.py.in +++ b/src/integration-tests/test_integration_restart.py.in @@ -61,17 +61,17 @@ def cleanup (): retries -= 1 if (os.path.exists(path)): test.p ("Failed to remove " + path) - + retries = 10 - path = os.path.join (tmp, "c_no_nat_client") - test.p ("Removing " + path) + path = os.path.join (tmp, "c_no_nat_client") + test.p ("Removing " + path) while ((os.path.exists(path)) and (retries > 0)): shutil.rmtree ((path), False) time.sleep (1) retries -= 1 if (os.path.exists(path)): - test.p ("Failed to remove " + path) + test.p ("Failed to remove " + path) def success_restart_cont (check): global success -- cgit v1.2.3