fix
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Apr 2008 14:56:25 +0000 (14:56 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Apr 2008 14:56:25 +0000 (14:56 +0000)
system/TestMain.py
system/TestPlc.py

index 314d7fc..1bf482d 100755 (executable)
@@ -27,12 +27,12 @@ class TestMain:
                      'standby_20', SEP,
                      'nodes_booted', 'nodes_ssh', 'check_slices',
                      'check_initscripts', 'check_tcp',SEP,
-                     'force_kill_qemus', 'force_gather_logs' ]
+                     'force_gather_logs', 'force_kill_qemus', ]
     other_steps = [ 'stop_all_vservers','fresh_install', 'cache_rpm', 'stop', SEP,
                     'clean_sites', 'clean_nodes', 'clean_slices', 'clean_keys', SEP,
                     'show_boxes', 'list_all_qemus', 'list_qemus', SEP,
                     'db_dump' , 'db_restore',
-                    'standby_1 through 20', SEP,
+                    'standby_1 through 20'
                     ]
     default_build_url = "http://svn.planet-lab.org/svn/build/trunk"
 
index ad43ada..fb259f5 100644 (file)
@@ -647,7 +647,7 @@ class TestPlc:
         return True
 
     def gather_var_logs (self):
-        to_plc = self.actual_command_in_guest("tar -cf - /var/log")        
+        to_plc = self.actual_command_in_guest("tar -C /var/log/ -cf - .")        
         command = to_plc + "| tar -C logs/%s-var-log -xf -"%self.name()
         utils.system("mkdir -p logs/%s-var-log"%self.name())
         utils.system(command)