git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extra tests: Test that valgrind and libtool are installed.
[libguestfs.git]
/
sparsify
/
test-virt-sparsify.sh
diff --git
a/sparsify/test-virt-sparsify.sh
b/sparsify/test-virt-sparsify.sh
index
1fad58b
..
4a7a2f6
100755
(executable)
--- a/
sparsify/test-virt-sparsify.sh
+++ b/
sparsify/test-virt-sparsify.sh
@@
-14,7
+14,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
export LANG=C
set -e
export LANG=C
set -e
@@
-37,7
+37,7
@@
rm /boot/big
umount-all
EOF
umount-all
EOF
-
./virt-sparsify
--format raw test1.img --convert qcow2 test2.img
+
$VG ./virt-sparsify --debug-gc
--format raw test1.img --convert qcow2 test2.img
size_before=$(du -s test1.img | awk '{print $1}')
size_after=$(du -s test2.img | awk '{print $1}')
size_before=$(du -s test1.img | awk '{print $1}')
size_after=$(du -s test2.img | awk '{print $1}')