File: libguestfs-test-tool.pod

package info (click to toggle)
libguestfs 1%3A1.18.1-1%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,156 kB
  • sloc: ansic: 282,408; ml: 22,707; sh: 16,121; perl: 5,946; java: 5,047; cs: 4,329; makefile: 3,191; haskell: 2,564; erlang: 1,510; python: 1,502; xml: 509; ruby: 217; pascal: 142; cpp: 11
file content (131 lines) | stat: -rw-r--r-- 3,805 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
=encoding utf8

=head1 名前

libguestfs-test-tool - libguestfs の診断

=head1 書式

 libguestfs-test-tool [--options]

=head1 説明

libguestfs-test-tool is a test program shipped with libguestfs to allow you
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:

 libguestfs-test-tool

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
I<complete, unedited> output of the test tool into a bug report.  More
information about reporting bugs can be found on the
L<http://libguestfs.org/> website.

=head1 オプション

=over 4

=item B<--help>

Display short usage information and exit.

=item B<--qemu qemu_binary>

If you have downloaded another qemu binary, point this option at the full
path of the binary to try it.

=item B<--qemudir qemu_source_dir>

If you have compiled qemu from source, point this option at the source
directory to try it.

=item B<-t N>

=item B<--timeout N>

Set the launch timeout to C<N> seconds.  The default is 600 seconds (10
minutes) which does not usually need to be adjusted.

=item B<-V>

=item B<--version>

Display the libguestfs version number and exit.

=back

=head1 TRYING OUT A DIFFERENT VERSION OF QEMU

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

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

Note when using these options, you can ignore the business of qemu wrapper
scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a
wrapper script for you if one is needed.

=head1 TRYING OUT A DIFFERENT KERNEL

If you are using febootstrap E<ge> 3.8 then you can select which kernel
libguestfs tries.  You do this by setting the environment variables
C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>.

Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further
information.

=head1 自己診断

libguestfs-test-tool および/または起こりうるエラーにより生成されるメッセージを理解するには
L<guestfs(3)/アプライアンス起動プロセス> を参照してください。

=head1 終了ステータス

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

=head1 環境変数

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

=head1 関連項目

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

=head1 著者

Richard W.M. Jones (C<rjones at redhat dot com>)

=head1 COPYRIGHT

Copyright (C) 2009-2012 Red Hat Inc.  L<http://libguestfs.org/>

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., 51
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.