diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-18 13:04:46 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-21 13:17:11 +0100 |
commit | 5e658a650a690720c712c01ab68dc306f41fa25e (patch) | |
tree | 00aedd2bda784d4348145459c74645d7b01efe3a /python/t/010-basic.py | |
parent | 305991b79230fb61cd28e21a9b3d14c1a5177437 (diff) | |
download | libguestfs-5e658a650a690720c712c01ab68dc306f41fa25e.tar.gz libguestfs-5e658a650a690720c712c01ab68dc306f41fa25e.tar.xz libguestfs-5e658a650a690720c712c01ab68dc306f41fa25e.zip |
tests: Replace truncate command with 'guestfish sparse'.
RHEL 5 didn't have the truncate command, but we can replace:
truncate -s SIZE FILE
with the roughly equivalent command:
guestfish sparse FILE SIZE
Cherry picked from commit 39df80dcc0e485e69048bddbf33c259ce532e50d
and backported to libguestfs 1.16 branch.
Diffstat (limited to 'python/t/010-basic.py')
0 files changed, 0 insertions, 0 deletions