Skip to content

Commit

Permalink
Update fs_fault_inject.py
Browse files Browse the repository at this point in the history
Signed-off-by: YunhuiChen <[email protected]>
  • Loading branch information
YunhuiChen authored Oct 17, 2022
1 parent 8af4aef commit 0a6ee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot/Resources/keywords/fs_fault_inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def start_pjdtest_cmd(pjd_path):
workspace = test_dir + pjd_path
test_client = config.fs_test_client[0]
ssh = shell_operator.create_ssh_connect(test_client, 1046, config.abnormal_user)
ori_cmd = "cd %s && sudo prove -r %s > result.txt"%(workspace,pjdtest_source_path)
ori_cmd = "cd %s && sudo prove -r %s > result.txt"%(workspace,config.pjdtest_source_path)
rs = shell_operator.ssh_exec(ssh, ori_cmd)
logger.info("pjdtest result is %s"%rs[1])
assert rs[3] == 0,"pjdtest fail,result is %s"%rs[2]
Expand Down

0 comments on commit 0a6ee8b

Please sign in to comment.