commit | 89fb610e7645cc0516aee0ce5284079e9eb9cb33 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Sat Jun 13 02:58:08 2015 +0300 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Sat Jun 13 02:58:08 2015 +0300 |
tree | 7a1eb3869824bc074e9c572d094922370b36aa0e | |
parent | bc2c89857c8b7f6345bbf4a4609d5ce17941015f [diff] [blame] |
tempo commit
diff --git a/wally/suits/io/fio.py b/wally/suits/io/fio.py index f7fc9bc..670f42b 100644 --- a/wally/suits/io/fio.py +++ b/wally/suits/io/fio.py
@@ -503,7 +503,8 @@ res_code_file=self.exit_code_file, exec_folder=exec_folder) - run_on_node(node)("cd {0} ; rm -rf *".format(exec_folder), nolog=True) + assert exec_folder != "" and exec_folder != "/" + run_on_node(node)("rm -rf {0}/*".format(exec_folder), nolog=True) with node.connection.open_sftp() as sftp: print ">>>>", self.task_file