diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-11-10 16:34:57 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-11 10:48:22 +0000 |
commit | 9ba779ea367b2ea7077da7bdd75e813cd06c7eea (patch) | |
tree | 02234511ed36157f11f3b000d9a7c88bb572e79f | |
parent | 5f0b75f040b118c4394466438adc99f38144722d (diff) | |
download | libguestfs-9ba779ea367b2ea7077da7bdd75e813cd06c7eea.tar.gz libguestfs-9ba779ea367b2ea7077da7bdd75e813cd06c7eea.tar.xz libguestfs-9ba779ea367b2ea7077da7bdd75e813cd06c7eea.zip |
tune2fs-l: Add a test.
-rw-r--r-- | generator/generator_actions.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index d3fa3e0b..243ea9b5 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -2585,7 +2585,10 @@ C<path> should be a file or directory in the mounted file system This is the same as the C<statvfs(2)> system call."); ("tune2fs_l", (RHashtable "superblock", [Device "device"], []), 55, [], - [], (* XXX test *) + [InitScratchFS, Always, TestOutputHashtable ( + [["tune2fs_l"; "/dev/sdb1"]], + ["Filesystem magic number", "0xEF53"; + "Filesystem OS type", "Linux"])], "get ext2/ext3/ext4 superblock details", "\ This returns the contents of the ext2, ext3 or ext4 filesystem |