diff options
| author | Philippe Mathieu-Daudé | 2019-01-29 18:53:46 +0100 |
|---|---|---|
| committer | Alex Bennée | 2019-02-11 13:47:08 +0100 |
| commit | 920fff9093db26f3e74858e3d4182b74a6da7496 (patch) | |
| tree | f7379c2a6d51dcf485ac2c502dd46b01eadf057e /tests/vm/openbsd | |
| parent | docs/devel/testing: Add -a option to usermod command on docker setup (diff) | |
| download | qemu-920fff9093db26f3e74858e3d4182b74a6da7496.tar.gz qemu-920fff9093db26f3e74858e3d4182b74a6da7496.tar.xz qemu-920fff9093db26f3e74858e3d4182b74a6da7496.zip | |
tests/vm: Be verbose while extracting compressed images
Depending of the host hardware, copying and extracting VM images can
take up to few minutes. Add verbosity to avoid the user to worry about
VMs hanging.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190129175403.18017-2-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/openbsd')
| -rwxr-xr-x | tests/vm/openbsd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vm/openbsd b/tests/vm/openbsd index cfe0572c59..2105c01a26 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -35,8 +35,9 @@ class OpenBSDVM(basevm.BaseVM): sha256sum='8c6cedc483e602cfee5e04f0406c64eb99138495e8ca580bc0293bcf0640c1bf') img_tmp_xz = img + ".tmp.xz" img_tmp = img + ".tmp" + sys.stderr.write("Extracting the image...\n") subprocess.check_call(["cp", "-f", cimg, img_tmp_xz]) - subprocess.check_call(["xz", "-df", img_tmp_xz]) + subprocess.check_call(["xz", "-dvf", img_tmp_xz]) if os.path.exists(img): os.remove(img) os.rename(img_tmp, img) |
