[Pkg-libvirt-commits] [libguestfs] 155/233: tests: Test --label and other options in virt-make-fs.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:11:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 642cf4c5dc9af340173ff9aee2c432d6e69f480a
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jan 28 20:26:42 2014 +0000

    tests: Test --label and other options in virt-make-fs.
---
 make-fs/test-virt-make-fs.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/make-fs/test-virt-make-fs.sh b/make-fs/test-virt-make-fs.sh
index f276e4c..140b68a 100755
--- a/make-fs/test-virt-make-fs.sh
+++ b/make-fs/test-virt-make-fs.sh
@@ -66,21 +66,24 @@ fi
 type=`random_choice`
 
 if [ "$qcow2_supported" = "yes" ]; then
-    choices=(--format=raw --format=qcow2)
+    choices=("" --format=raw --format=qcow2)
     format=`random_choice`
 else
     format="--format=raw"
 fi
 
-choices=(--partition --partition=gpt)
+choices=(--partition --partition=gpt --partition=mbr)
 partition=`random_choice`
 
 choices=("" --size=+1M)
 size=`random_choice`
 
+choices=("" --label=FOO)
+label=`random_choice`
+
 if [ -n "$LIBGUESTFS_DEBUG" ]; then debug=--debug; fi
 
-params="$type $format $partition $size $debug"
+params="$type $format $partition $size $label $debug"
 echo "test-virt-make-fs: parameters: $params"
 
 rm -f test.file test.tar output.img

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list