virt: Fix file_transfer subtest
PATCH 1/1 virt: Fix file_transfer subtest
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 <[email protected]>
--- client/virt/tests/file_transfer.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/virt/tests/file_transfer.py +1 -1
@@ -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)
Signature · 1 line
1.7.6