From: Richard Jones Date: Tue, 24 Nov 2009 14:05:57 +0000 (+0000) Subject: availability: Add a test for this call. X-Git-Tag: 1.0.80~59 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=979eda8a5d3ad5cd9a8fe95159258afd681307f7;p=libguestfs.git 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). --- diff --git a/src/generator.ml b/src/generator.ml index 722e2f7..74ff3a8 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."); ("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