summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-04-06 18:48:58 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-04-06 18:48:58 +0100
commit418a048215b17dcf1f0c74693831306cbcf0f194 (patch)
tree15247b719f5fba0c0a86317c45999f9952c121b8
parentd9f77f214bb8448139792c5a871dca2dfe9845db (diff)
downloadlibguestfs-418a048215b17dcf1f0c74693831306cbcf0f194.tar.gz
libguestfs-418a048215b17dcf1f0c74693831306cbcf0f194.tar.xz
libguestfs-418a048215b17dcf1f0c74693831306cbcf0f194.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.
-rwxr-xr-xtests/guests/guest-aux/make-windows-img.sh2
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