diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-06 18:48:58 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-04-06 20:13:19 +0100 |
commit | c5133cdedd669b3830c3bc96c092d6d03e254ecd (patch) | |
tree | 2a0e7f7ecb95f67513402711b03aa5e23c57d1b9 | |
parent | d7077a7310f89f29485646fb016a3754b68ef59f (diff) | |
download | libguestfs-c5133cdedd669b3830c3bc96c092d6d03e254ecd.tar.gz libguestfs-c5133cdedd669b3830c3bc96c092d6d03e254ecd.tar.xz libguestfs-c5133cdedd669b3830c3bc96c092d6d03e254ecd.zip |
tests: Don't print "4" when running make-windows-img.sh
The return value of the pwrite-device command -- 4 (bytes) -- is
printed out. Hide it instead.
(cherry picked from commit 418a048215b17dcf1f0c74693831306cbcf0f194)
-rwxr-xr-x | tests/guests/guest-aux/make-windows-img.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guests/guest-aux/make-windows-img.sh b/tests/guests/guest-aux/make-windows-img.sh index ed949981..a6937a99 100755 --- a/tests/guests/guest-aux/make-windows-img.sh +++ b/tests/guests/guest-aux/make-windows-img.sh @@ -46,7 +46,7 @@ part-add /dev/sda p 64 524287 part-add /dev/sda p 524288 -64 # Disk ID. -pwrite-device /dev/sda "1234" 0x01b8 +pwrite-device /dev/sda "1234" 0x01b8 | cat >/dev/null # Phony boot loader filesystem. mkfs ntfs /dev/sda1 |