summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-11-24 14:05:57 +0000
committerRichard Jones <rjones@redhat.com>2009-11-24 16:01:11 +0000
commit979eda8a5d3ad5cd9a8fe95159258afd681307f7 (patch)
tree6c80c578eba2963663ff221d430f2fdd3d87f65d /src
parent3817708a5b182e8c170e653eb383961a34e30245 (diff)
downloadlibguestfs-979eda8a5d3ad5cd9a8fe95159258afd681307f7.tar.gz
libguestfs-979eda8a5d3ad5cd9a8fe95159258afd681307f7.tar.xz
libguestfs-979eda8a5d3ad5cd9a8fe95159258afd681307f7.zip
availability: Add a test for this call.
Because all the tested groups are optional, there's not really a group we can reliably test, therefore test against the empty list (which should not fail).
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 722e2f7d..74ff3a82 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -4105,7 +4105,7 @@ To fill a file with zero bytes (sparsely), it is
much more efficient to use C<guestfs_truncate_size>.");
("available", (RErr, [StringList "groups"]), 216, [],
- [],
+ [InitNone, Always, TestRun [["available"; ""]]],
"test availability of some parts of the API",
"\
This command is used to check the availability of some