[Pkg-libvirt-commits] [libguestfs] 361/384: tests: add test case of set-label and vfs-label for btrfs
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 16:59:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 09e239a726228922366107c5fcfd0542ee25503b
Author: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
Date: Fri Mar 13 05:59:38 2015 -0400
tests: add test case of set-label and vfs-label for btrfs
Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
generator/actions.ml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index fb971d3..786b9a2 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -8591,6 +8591,11 @@ a file in the host and attach it as a device." };
[["part_disk"; "/dev/sda"; "mbr"];
["mkfs"; "ext2"; "/dev/sda1"; ""; "NOARG"; ""; ""; "test-label"];
["vfs_label"; "/dev/sda1"]], "test-label"), [];
+ InitEmpty, IfAvailable "btrfs", TestResultString (
+ [["part_disk"; "/dev/sda"; "mbr"];
+ ["mkfs"; "btrfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; ""];
+ ["set_label"; "/dev/sda1"; "test-label-btrfs"];
+ ["vfs_label"; "/dev/sda1"]], "test-label-btrfs"), [];
];
shortdesc = "get the filesystem label";
longdesc = "\
--
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