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'):