extra tests: Test virt-sparsify.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 29 Nov 2011 17:20:11 +0000 (17:20 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 2 Dec 2011 08:36:11 +0000 (08:36 +0000)
commit766b5cdefa13145a529dd08e756c3bf81d7fe734
treef0d1c669dde29ab4788b771035de357a0fdce842
parent52f361895b9367f08b6f381e7f6a9d5e30646a20
extra tests: Test virt-sparsify.

This adds the virt-sparsify --debug-gc option which causes
virt-sparsify to call Gc.compact before exiting, allowing
GC and memory problems to be tested.

Add an extratest which runs virt-sparsify under valgrind.
(cherry picked from commit 14b1e7b963cd5446ab76a067085b91925dd5d3e3)
extratests/Makefile.am
sparsify/sparsify.ml
sparsify/test-virt-sparsify.sh
sparsify/virt-sparsify.pod