tests/vm: avoid extra compressed image copy
commit676d1f3e2f4667ead88cb719db0581f396fc60bf
authorCleber Rosa <crosa@redhat.com>
Thu, 13 Jun 2019 13:07:15 +0000 (13 09:07 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jul 2019 18:22:58 +0000 (4 19:22 +0100)
tree26420b6678d87f2cfe3466e120cc28791b54a117
parent57dfc2c4d51e770ed3f617e5d1456d1e2bacf3f0
tests/vm: avoid extra compressed image copy

The image copy is only really needed because xz doesn't know to
properly decompress a file not named properly.  Instead of
decompressing to stdout, and having to rely on a shell, let's just
create a link instead of copying the file.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190613130718.3763-2-crosa@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/vm/centos
tests/vm/freebsd
tests/vm/netbsd
tests/vm/openbsd