atf-test-program.1 (256281) | atf-test-program.1 (272307) |
---|---|
1.\" 2.\" Automated Testing Framework (atf) 3.\" 4.\" Copyright (c) 2007 The NetBSD Foundation, Inc. 5.\" All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 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. 28.\" | 1.\" 2.\" Automated Testing Framework (atf) 3.\" 4.\" Copyright (c) 2007 The NetBSD Foundation, Inc. 5.\" All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 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. 28.\" |
29.Dd February 6, 2011 | 29.Dd March 2, 2014 |
30.Dt ATF-TEST-PROGRAM 1 31.Os 32.Sh NAME 33.Nm atf-test-program 34.Nd common interface to ATF test programs 35.Sh SYNOPSIS 36.Nm 37.Op Fl r Ar resfile --- 18 unchanged lines hidden (view full) --- 56Optionally, the test case name can be suffixed by 57.Sq :cleanup , 58in which case the cleanup routine of the test case will be executed 59instead of the test case body; see 60.Xr atf-test-case 4 . 61Note that the test case is 62.Em executed without isolation , 63so it can and probably will create and modify files in the current directory. | 30.Dt ATF-TEST-PROGRAM 1 31.Os 32.Sh NAME 33.Nm atf-test-program 34.Nd common interface to ATF test programs 35.Sh SYNOPSIS 36.Nm 37.Op Fl r Ar resfile --- 18 unchanged lines hidden (view full) --- 56Optionally, the test case name can be suffixed by 57.Sq :cleanup , 58in which case the cleanup routine of the test case will be executed 59instead of the test case body; see 60.Xr atf-test-case 4 . 61Note that the test case is 62.Em executed without isolation , 63so it can and probably will create and modify files in the current directory. |
64To execute test cases in a controller manner, refer to 65.Xr atf-run 1 , 66which is the preferred way to run test cases. | 64To execute test cases in a controller manner, you need a runtime engine 65that understands the ATF interface. 66The recommended runtime engine is 67.Xr kyua 1 . |
67You should only execute test cases by hand for debugging purposes. 68.Pp 69In the second synopsis form, the test program will list all available 70test cases alongside their meta-data properties in a format that is 71machine parseable. 72This list is processed by | 68You should only execute test cases by hand for debugging purposes. 69.Pp 70In the second synopsis form, the test program will list all available 71test cases alongside their meta-data properties in a format that is 72machine parseable. 73This list is processed by |
73.Xr atf-run 1 | 74.Xr kyua 1 |
74to know how to execute the test cases of a given test program. 75.Pp 76The following options are available: 77.Bl -tag -width XvXvarXvalueXX 78.It Fl l 79Lists available test cases alongside a brief description for each of them. 80.It Fl r Ar resfile 81Specifies the file that will receive the test case result. --- 12 unchanged lines hidden (view full) --- 94utilities. 95.It Fl v Ar var=value 96Sets the configuration variable 97.Ar var 98to the value 99.Ar value . 100.El 101.Sh SEE ALSO | 75to know how to execute the test cases of a given test program. 76.Pp 77The following options are available: 78.Bl -tag -width XvXvarXvalueXX 79.It Fl l 80Lists available test cases alongside a brief description for each of them. 81.It Fl r Ar resfile 82Specifies the file that will receive the test case result. --- 12 unchanged lines hidden (view full) --- 95utilities. 96.It Fl v Ar var=value 97Sets the configuration variable 98.Ar var 99to the value 100.Ar value . 101.El 102.Sh SEE ALSO |
102.Xr atf-run 1 , 103.Xr atf 7 | 103.Xr kyua 1 |