Signed-off-by: Lukas Doktor <ldoktor@xxxxxxxxxx> --- client/virt/virt_test_utils.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/virt/virt_test_utils.py b/client/virt/virt_test_utils.py index 2636352..1ef4f69 100644 --- a/client/virt/virt_test_utils.py +++ b/client/virt/virt_test_utils.py @@ -524,11 +524,11 @@ def run_autotest(vm, session, control_path, timeout, outputdir, params): mig_timeout = float(params.get("mig_timeout", "3600")) mig_protocol = params.get("migration_protocol", "tcp") - compressed_autotest_path = "/tmp/autotest.tar.bz2" + compressed_autotest_path = os.path.relpath("/tmp/autotest.tar.bz2") # To avoid problems, let's make the test use the current AUTODIR # (autotest client path) location - autotest_path = os.environ['AUTODIR'] + autotest_path = os.path.relpath(os.environ['AUTODIR']) # tar the contents of bindir/autotest cmd = "tar cvjf %s %s/*" % (compressed_autotest_path, autotest_path) -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html