separate step for stopping all vservers
[tests.git] / system / TestSliver.py
index 5be0a25..865b0ba 100644 (file)
@@ -49,9 +49,7 @@ class TestSliver:
     def do_check_tcp(self,tcp_param,options):
         for tcp_spec in tcp_param:
             #copy the tcptest file under the chroot
-            path=options.path
-            localfile="/root/"+path+"/tcptest.py"
-            remotefile="tcptest.py"
+            localfile=remotefile="tcptest.py"
             self.test_plc.copy_in_guest(localfile, remotefile, False)
             peer_param=tcp_spec['tcp_fields']
             if (tcp_spec['tcp_fields']['peer_name']=='server'):