summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-23 18:20:41 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-23 18:44:02 +0100
commitc65ee25a756071deedf49f5f0fcf117984727b64 (patch)
tree991b1656d1d44b76127af0aa56b6820cb175cbd1
parent0a1b2f85e6b551efd39f02f93941bfae333c1c26 (diff)
downloadlibguestfs-c65ee25a756071deedf49f5f0fcf117984727b64.tar.gz
libguestfs-c65ee25a756071deedf49f5f0fcf117984727b64.tar.xz
libguestfs-c65ee25a756071deedf49f5f0fcf117984727b64.zip
tests: Remove get-pid test.
If the libvirt attach-method is used, then there is no known PID (libvirt hides it).
-rw-r--r--generator/generator_actions.ml5
1 files changed, 1 insertions, 4 deletions
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 180fce4e..447a334e 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -448,10 +448,7 @@ see L<guestfs(3)>." };
name = "get_pid";
style = RInt "pid", [], [];
fish_alias = ["pid"];
- tests = [
- InitNone, Always, TestOutputIntOp (
- [["get_pid"]], ">=", 1)
- ];
+ tests = [];
shortdesc = "get PID of qemu subprocess";
longdesc = "\
Return the process ID of the qemu subprocess. If there is no