提交 7016cefa 编写于 作者: D deveco_test

fix push kit bug

Signed-off-by: Ndeveco_test <liguangjie1@huawei.com>
上级 feb00aad
......@@ -165,12 +165,12 @@ class PushKit(ITestKit):
LOG.debug(
"Push file finished from {} to {}".format(
os.path.join(root, file), dst))
self.pushed_file.append(file)
self.pushed_file.append(os.path.join(dst, file))
else:
device.hdc_command("file send {} {}".format(real_src_path,
dst))
LOG.debug("Push file finished from {} to {}".format(src, dst))
self.pushed_file.append(real_src_path)
self.pushed_file.append(dst)
for command in self.post_push:
run_command(device, command)
return self.pushed_file, dst
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册