test-data: Use ./run script to run 'guestfish disk-create'.

Commit 74ded0dbc1 changes existing calls
to truncate to run 'guestfisk disk-create' instead.  However this
fails if guestfish has not been installed.  By using the ./run script,
we can use the just-built guestfish instead.

Fixes commit 74ded0dbc1.
This commit is contained in:
Richard W.M. Jones
2017-02-10 22:41:55 +00:00
parent 74660366f6
commit fa83b47876

View File

@@ -32,19 +32,19 @@ CLEANFILES += $(files)
# Blank disk images in various sizes and formats.
blank-disk-1s.raw:
guestfish disk-create $@ raw 512
$(top_builddir)/run guestfish disk-create $@ raw 512
blank-disk-1s.qcow2:
qemu-img create -f qcow2 -o preallocation=metadata $@ 512
blank-disk-1K.raw:
guestfish disk-create $@ raw 1K
$(top_builddir)/run guestfish disk-create $@ raw 1K
blank-disk-1K.qcow2:
qemu-img create -f qcow2 -o preallocation=metadata $@ 1K
blank-disk-1M.raw:
guestfish disk-create $@ raw 1M
$(top_builddir)/run guestfish disk-create $@ raw 1M
blank-disk-1M.qcow2:
qemu-img create -f qcow2 -o preallocation=metadata $@ 1M