test-virt-resize: Replace truncate with guestfish sparse.

Another instance of 'truncate' command.

See commit 39df80dcc0 for an
explanation.
This commit is contained in:
Richard W.M. Jones
2012-06-22 11:04:31 +01:00
parent 4d3ec25b47
commit ef1514aa1e

View File

@@ -45,7 +45,7 @@ pvresize-size /dev/sda2 200M
fsck ext4 /dev/VG/LV
EOF
rm -f test2.img; truncate -s 300M test2.img
rm -f test2.img; ../fish/guestfish sparse test2.img 300M
$VG ./virt-resize -d --debug-gc \
--shrink /dev/sda2 \
--format raw --output-format raw \