mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Update miscellaneous tests to use disk-create API.
Instead of calling out to qemu-img / truncate.
This commit is contained in:
@@ -30,7 +30,7 @@ $VG ./guestfish -x -a test-a.img </dev/null >test-a.out 2>&1
|
||||
! grep -sq 'add_drive.*format' test-a.out
|
||||
|
||||
rm test-a.img
|
||||
qemu-img create -f qcow2 test-a.img 100M
|
||||
$VG ./guestfish disk-create test-a.img qcow2 100M
|
||||
|
||||
$VG ./guestfish -x --format=qcow2 -a test-a.img </dev/null >test-a.out 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user