Message ID | 1314131791-3831-1-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/virt/tests/file_transfer.py b/client/virt/tests/file_transfer.py index 5f6672d..2d0ffad 100644 --- a/client/virt/tests/file_transfer.py +++ b/client/virt/tests/file_transfer.py @@ -74,7 +74,7 @@ def run_file_transfer(test, params, env): finally: logging.info('Cleaning temp file on guest') - session.cmd("rm -rf %s" % guest_path) + session.cmd("%s %s" % (clean_cmd, guest_path)) logging.info('Cleaning temp files on host') try: os.remove(host_path)
Turns out we were using a hardcoded cleanup command in the cleanup phase for the file_transfer test, rather than picking up the one available on params. This patch fixes that bug. Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> --- client/virt/tests/file_transfer.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)