- typo
[oweals/gnunet.git] / src / integration-tests / test_integration_restart.py.in
index 70d10be24fd0b61fc3f1eab6289d42d452a7cef9..49a9672280b10c383d67fe6558a48a08721453fe 100755 (executable)
@@ -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 
@@ -149,7 +149,7 @@ def run ():
        success = False
        
        test = Test ('test_integration_disconnect', verbose)
-       
+       cleanup ()
        server = Peer(test, './confs/c_bootstrap_server.conf');
        server.start();