729d318a4fe9be2769a3aed6bf0d3ba1d5a4c824
[kai/samba.git] / source4 / torture / man / gentest.1.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3 <refentry id="gentest.1">
4
5 <refmeta>
6         <refentrytitle>gentest</refentrytitle>
7         <manvolnum>1</manvolnum>
8 </refmeta>
9
10
11 <refnamediv>
12         <refname>gentest</refname>
13         <refpurpose>Run random generic SMB operations against two SMB servers 
14         and show the differences in behavior</refpurpose>
15 </refnamediv>
16
17 <refsynopsisdiv>
18         <cmdsynopsis>
19                 <command>gentest</command>
20                 <arg choice="req">//server1/share1</arg>
21                 <arg choice="req">//server2/share2</arg>
22                 <arg choice="req">-U user%pass</arg>
23                 <arg choice="req">-U user%pass</arg>
24                 <arg choice="opt">-s seed</arg>
25                 <arg choice="opt">-o numops</arg>
26                 <arg choice="opt">-a</arg>
27                 <arg choice="opt">-A</arg>
28                 <arg choice="opt">-i FILE</arg>
29                 <arg choice="opt">-O</arg>
30                 <arg choice="opt">-S FILE</arg>
31                 <arg choice="opt">-L</arg>
32                 <arg choice="opt">-F</arg>
33                 <arg choice="opt">-C</arg>
34                 <arg choice="opt">-X</arg>
35         </cmdsynopsis>
36         
37 </refsynopsisdiv>
38
39 <refsect1>
40         <title>DESCRIPTION</title>
41
42         <para><application>gentest</application> is a utility for 
43                 detecting differences in behaviour between SMB servers. 
44                 It will run a random set of generic operations against 
45                 <parameter>//server1/share1</parameter> and then the same 
46                 random set against <parameter>//server2/share2</parameter>
47                 and display the differences in the responses it gets.
48         </para>
49
50         <para>
51                 This utility is used by the Samba team to find differences in 
52                 behaviour between Samba and Windows servers. 
53         </para>
54 </refsect1>
55
56
57 <refsect1>
58         <title>OPTIONS</title>
59
60         <variablelist>
61                 <varlistentry>
62                         <term>-U user%pass</term>
63                         <listitem><para>
64                                         Specify the user and password to use when logging on 
65                                         on the shares. This parameter is mandatory and has to 
66                                         be specified twice.
67                         </para></listitem>
68                 </varlistentry>
69
70                 <varlistentry>
71                         <term>-s seed</term>
72                         <listitem><para>
73                                         Seed the random number generator with the specified value.
74                         </para></listitem>
75                 </varlistentry>
76
77                 <varlistentry>
78                         <term>-o numops</term>
79                         <listitem><para>Set the number of operations to perform.</para></listitem>
80                 </varlistentry>
81
82                 <varlistentry>
83                         <term>-a</term>
84                         <listitem><para>Print the operations that are performed. </para></listitem>
85                 </varlistentry>
86                 
87                 <varlistentry>
88                         <term>-A</term>
89                         <listitem><para>Backtrack to find minimal number of operations 
90                                         required to make the response to a certain call differ.
91                         </para></listitem>
92                 </varlistentry>
93
94                 <varlistentry>
95                         <term>-i FILE</term>
96                         <listitem><para>
97                                         Specify a file containing the names of fields that 
98                                         have to be ignored (such as time fields). See 
99                                         below for a description of the file format.
100                         </para></listitem>
101                 </varlistentry>
102
103                 <varlistentry>
104                         <term>-O</term>
105                         <listitem><para>Enable oplocks.</para></listitem>
106                 </varlistentry>
107
108                 <varlistentry>
109                         <term>-S FILE</term>
110                         <listitem><para>Set preset seeds file. The default is <filename>gentest_seeds.dat</filename>.</para></listitem>
111                 </varlistentry>
112
113                 <varlistentry>
114                         <term>-L</term>
115                         <listitem><para>Use preset seeds</para></listitem>
116                 </varlistentry>
117
118                 <varlistentry>
119                         <term>-F</term>
120                         <listitem><para>Fast reconnect (just close files)</para></listitem>
121                 </varlistentry>
122
123                 <varlistentry>
124                         <term>-C</term>
125                         <listitem><para>Continuous analysis mode</para></listitem>
126                 </varlistentry>
127
128                 <varlistentry>
129                         <term>-X</term>
130                         <listitem><para>Analyse even when the test succeeded.</para></listitem>
131                 </varlistentry>
132         </variablelist>
133 </refsect1>
134
135 <refsect1>
136         <title>VERSION</title>
137
138         <para>This man page is correct for version 4.0 of the Samba suite.</para>
139 </refsect1>
140
141 <refsect1>
142         <title>SEE ALSO</title>
143
144         <para>Samba</para>
145
146 </refsect1>
147
148 <refsect1>
149         <title>AUTHOR</title>
150
151         <para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
152
153         <para>gentest was written by Andrew Tridgell.</para>
154
155         <para>This manpage was written by Jelmer Vernooij.</para>
156         
157 </refsect1>
158
159 </refentry>