git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3817708
)
availability: Add a test for this call.
author
Richard Jones
<rjones@redhat.com>
Tue, 24 Nov 2009 14:05:57 +0000
(14:05 +0000)
committer
Richard Jones
<rjones@redhat.com>
Tue, 24 Nov 2009 16:01:11 +0000
(16:01 +0000)
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).
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
722e2f7
..
74ff3a8
100755
(executable)
--- 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