1libguestfs-test-tool(1)     Virtualization Support     libguestfs-test-tool(1)
2
3
4

NAME

6       libguestfs-test-tool - End user tests for libguestfs
7

SYNOPSIS

9        libguestfs-test-tool [--options]
10

DESCRIPTION

12       libguestfs-test-tool is a test program shipped with libguestfs to end
13       users and developers, to allow them to check basic libguestfs
14       functionality is working.  This is needed because libguestfs
15       occasionally breaks for reasons beyond our control: usually because of
16       changes in the underlying qemu or kernel packages, or the host
17       environment.
18
19       If you suspect a problem in libguestfs, then just run:
20
21        libguestfs-test-tool
22
23       It will print lots of diagnostic messages.
24
25       If it runs to completion successfully, you will see this near the end:
26
27        ===== TEST FINISHED OK =====
28
29       and the test tool will exit with code 0.
30
31       If it fails (and/or exits with non-zero error code), please paste the
32       complete, unedited output of the test tool into a bug report.  More
33       information about reporting bugs can be found on the
34       <http://libguestfs.org/> website.
35

OPTIONS

37       --help
38           Display short usage information and exit.
39
40       --helper /path/to/libguestfs-test-tool-helper
41           Pass an alternate name for the helper program.  libguestfs-test-
42           tool will normally look in the $libexec directory that was
43           configured when the tool was built.
44
45       --qemu qemu_binary
46           If you have downloaded another qemu binary, point this option at
47           the full path of the binary to try it.
48
49       --qemudir qemu_source_dir
50           If you have compiled qemu from source, point this option at the
51           source directory to try it.
52
53       --timeout N
54           Set the launch timeout to "N" seconds.  The default is 120 seconds
55           which does not usually need to be adjusted unless your machine is
56           very slow.
57

TRYING OUT A DIFFERENT VERSION OF QEMU

59       If you have compiled another version of qemu from source and would like
60       to try that, then you can use the --qemudir option to point to the qemu
61       source directory.
62
63       If you have downloaded a qemu binary from somewhere, use the --qemu
64       option to point to the binary.
65
66       When using an alternate qemu with libguestfs, usually you would need to
67       write a qemu wrapper script (see section QEMU WRAPPERS in guestfs(3)).
68       libguestfs-test-tool writes a temporary qemu wrapper script when you
69       use either of the --qemudir or --qemu options.
70

EXIT CODE

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

FILES

76       /usr/libexec/libguestfs-test-tool-helper
77           This helper program is run inside the appliance and provides
78           additional tests.
79
80       /usr/bin/mkisofs
81           The "mkisofs" command is required in order to construct a CD-ROM
82           ISO file which is used as part of the tests.
83

ENVIRONMENT VARIABLES

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

SEE ALSO

89       guestfs(3), <http://libguestfs.org/>, <http://qemu.org/>.
90

AUTHORS

92       Richard W.M. Jones ("rjones at redhat dot com")
93
95       Copyright (C) 2009 Red Hat Inc.  <http://libguestfs.org/>
96
97       This program is free software; you can redistribute it and/or modify it
98       under the terms of the GNU General Public License as published by the
99       Free Software Foundation; either version 2 of the License, or (at your
100       option) any later version.
101
102       This program is distributed in the hope that it will be useful, but
103       WITHOUT ANY WARRANTY; without even the implied warranty of
104       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
105       General Public License for more details.
106
107       You should have received a copy of the GNU General Public License along
108       with this program; if not, write to the Free Software Foundation, Inc.,
109       675 Mass Ave, Cambridge, MA 02139, USA.
110
111
112
113libguestfs-1.8.15                 2011-11-10           libguestfs-test-tool(1)
Impressum