1258299Sjmmv-- $FreeBSD: releng/10.3/share/examples/tests/tests/plain/Kyuafile 258299 2013-11-18 12:57:46Z jmmv $
2258299Sjmmv--
3258299Sjmmv-- Copyright 2013 Google Inc.
4258299Sjmmv-- All rights reserved.
5258299Sjmmv--
6258299Sjmmv-- Redistribution and use in source and binary forms, with or without
7258299Sjmmv-- modification, are permitted provided that the following conditions are
8258299Sjmmv-- met:
9258299Sjmmv--
10258299Sjmmv-- * Redistributions of source code must retain the above copyright
11258299Sjmmv--   notice, this list of conditions and the following disclaimer.
12258299Sjmmv-- * Redistributions in binary form must reproduce the above copyright
13258299Sjmmv--   notice, this list of conditions and the following disclaimer in the
14258299Sjmmv--   documentation and/or other materials provided with the distribution.
15258299Sjmmv-- * Neither the name of Google Inc. nor the names of its contributors
16258299Sjmmv--   may be used to endorse or promote products derived from this software
17258299Sjmmv--   without specific prior written permission.
18258299Sjmmv--
19258299Sjmmv-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20258299Sjmmv-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21258299Sjmmv-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22258299Sjmmv-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23258299Sjmmv-- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24258299Sjmmv-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25258299Sjmmv-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26258299Sjmmv-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27258299Sjmmv-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28258299Sjmmv-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29258299Sjmmv-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30258299Sjmmv
31258299Sjmmvsyntax(2)
32258299Sjmmv
33258299Sjmmv-- All tests provided by the FreeBSD base system should set the test_suite
34258299Sjmmv-- property to FreeBSD.  This creates a namespace in the configuration file
35258299Sjmmv-- in which specific run-time properties can be passed to the tests below.
36258299Sjmmvtest_suite('FreeBSD')
37258299Sjmmv
38258299Sjmmv-- Register the various test programs into the test suite defined in this
39258299Sjmmv-- directory.
40258299Sjmmv--
41258299Sjmmv-- Because plain test programs cannot define metadata in their code (they
42258299Sjmmv-- have no mechanism to communicate that to Kyua), we can instead define
43258299Sjmmv-- any metadata properties in here.  These have the exact same meaning as
44258299Sjmmv-- their ATF counterparts.  These properties are often useful to define
45258299Sjmmv-- prerequisites for the execution of the tests.
46258299Sjmmvplain_test_program{name='cp_test', required_programs='/bin/cp'}
47258299Sjmmvplain_test_program{name='printf_test'}
48