2 .\" Automated Testing Framework (atf)
4 .\" Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
17 .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
18 .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19 .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
21 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 .Dt ATF-TEST-PROGRAM 1
34 .Nd common interface to ATF test programs
39 .Op Fl v Ar var1=value1 Op .. Fl v Ar varN=valueN
40 .Op Ar test_case1 Op Ar .. test_caseN
44 .Op Ar test_case1 Op Ar .. test_caseN
48 Test programs written using the ATF libraries all share a common user
49 interface, which is what this manual page describes.
51 In the first synopsis form, the test program will execute the listed
52 test cases, or all of them if none are provided as arguments.
53 The test cases' names can be given as glob patterns.
55 In the second synopsis form, the test program will list all available
56 test cases alongside a brief description of what they do.
57 If any arguments are specified, the list will be restricted to the
59 The test cases' names can be given as glob patterns.
61 In the third synopsis form, the test program will print information
62 about all supported options and their purpose.
64 The following options are available:
65 .Bl -tag -width XvXvarXvalueXX
67 Shows a short summary of all available options and their purpose.
69 Lists available test cases alongside a brief description for each of them.
71 Specifies the file descriptor to which the test case will redirect its
73 These results follow a machine-parseable standardized format, and are not
74 meant for direct user consumption.
79 The path to the directory where the test program is located.
80 This is needed in all cases, except when the test program is being executed
81 from the current directory.
82 The test program will use this path to locate any helper data files or
85 Sets the configuration variable