Replace 'dd' in tests with use of guestfish 'sparse' command.
authorRichard Jones <rjones@redhat.com>
Tue, 20 Apr 2010 10:04:14 +0000 (11:04 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 22 Apr 2010 07:19:32 +0000 (08:19 +0100)
commit1c100a251bf9d4897a078da1016c2cf9a8a4e4e7
treecae9adcd79cca0cdeeea978b99c31b6b1c23fb16
parent79e7d3f4d157c851023937a101e804c0d4d79c2c
Replace 'dd' in tests with use of guestfish 'sparse' command.

'dd' is a very inefficient way to create files.  'truncate' is
better, but unfortunately that command is not available in RHEL 5.
So use the guestfish 'sparse' command instead (which also avoids
allocating disk space).
(cherry picked from commit 175c01d2336c07113f1c2966966957de5c344e3a)
regressions/rhbz503169c10.sh
regressions/rhbz503169c13.sh
regressions/test-bootbootboot.sh