Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 2010-09-16 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)


libguestfs-test-tool - End user tests for libguestfs


  libguestfs-test-tool [--options]


libguestfs-test-tool is a test program shipped with libguestfs to end users and developers, to allow them to check basic libguestfs functionality is working. This is needed because libguestfs occasionally breaks for reasons beyond our control: usually because of changes in the underlying qemu or kernel packages, or the host environment.

If you suspect a problem in libguestfs, then just run:


It will print lots of diagnostic messages.

If it runs to completion successfully, you will see this near the end:

  ===== TEST FINISHED OK =====

and the test tool will exit with code 0.

If it fails (and/or exits with non-zero error code), please paste the complete, unedited output of the test tool into a bug report. More information about reporting bugs can be found on the <> website.


Display short usage information and exit.
--helper /path/to/libguestfs-test-tool-helper
Pass an alternate name for the helper program. libguestfs-test-tool will normally look in the $libexec directory that was configured when the tool was built.
--qemu qemu_binary
If you have downloaded another qemu binary, point this option at the full path of the binary to try it.
--qemudir qemu_source_dir
If you have compiled qemu from source, point this option at the source directory to try it.
--timeout N
Set the launch timeout to "N" seconds. The default is 120 seconds which does not usually need to be adjusted unless your machine is very slow.


If you have compiled another version of qemu from source and would like to try that, then you can use the --qemudir option to point to the qemu source directory.

If you have downloaded a qemu binary from somewhere, use the --qemu option to point to the binary.

When using an alternate qemu with libguestfs, usually you would need to write a qemu wrapper script (see section QEMU WRAPPERS in guestfs(3)). libguestfs-test-tool writes a temporary qemu wrapper script when you use either of the --qemudir or --qemu options.


libguestfs-test-tool returns 0 if the tests completed without error, or 1 if there was an error.


This helper program is run inside the appliance and provides additional tests.
The "mkisofs" command is required in order to construct a CD-ROM ISO file which is used as part of the tests.


For the full list of environment variables which may affect libguestfs, please see the guestfs(3) manual page.


guestfs(3), <>, <>.


Richard W.M. Jones ("rjones at redhat dot com") Copyright (C) 2009 Red Hat Inc. <>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

L'enfance : "J'ai eu une très belle enfance malgré tout... j'ai été
élevé du côté campagne, en dehors de Bruxelles. Et j'ai toujours grandi
parmi les chiens. Les animaux ne parlent pas trop. Ils "parlent" avec du
feeling, mais ils n'ont pas de langage pour nos trouilles à nous. Là
j'ai un chien en ce moment à côté de moi. Je le caresse." .
-+- Jean-Claude VanDamme -+-