From: Yiqiao Pu <[email protected]> Clean up the tmp files in autotest before run a test. Some tmp files are too large which will make the test failed with no space left in guest just like iozone test running several times in guest.
Signed-off-by: Yiqiao Pu <[email protected]> Acked-by: Amos Kong <[email protected]> Acked-by: Xiaoqing Wei <[email protected]> --- client/virt/virt_test_utils.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/virt/virt_test_utils.py b/client/virt/virt_test_utils.py index 9d166e5..bfefc66 100644 --- a/client/virt/virt_test_utils.py +++ b/client/virt/virt_test_utils.py @@ -1199,6 +1199,7 @@ def run_autotest(vm, session, control_path, timeout, outputdir, params): try: session.cmd("rm -f control.state") session.cmd("rm -rf results/*") + session.cmd("rm -rf tmp/*") except aexpect.ShellError: pass try: -- 1.7.7.6 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
