3 # pkgfail regression test
6 # A spec file is sourced by the pkg_regress script. The following variables
7 # control the basic aspects of the individual test.
9 # Variables starting TEST_ are reserved, and should not be used in this file.
12 # MAKEARGS_TEST is the make target(s) and any extra arguments to invoke make
13 # in the regression testing directory. If empty, make will be invoked with
18 # MAKEARGS_CLEAN is the make target(s) and any extra arguments to invoke make
19 # in the regression testing directory in order to clean up. This is the final
20 # step which is taken, and occurs after the determination of pass/fail for
21 # the test. A typical value for this variable may be "deinstall clean".
22 # This variable is optional.
29 # exit_status compares its argument against the exit status from make. If not
30 # the same, the test is failed.
34 # output_require passes a list of patterns to egrep to check for in the output
35 # from the make invocation. If any pattern is not matched, the test is failed.
37 output_require "This package should never build"
39 # output_prohibit passes a list of patterns to egrep to check for in the output
40 # from the make invocation. If any pattern is matched, the test is failed.
47 # Environment variables may be set here to be passed to subprocesses such as
50 #export VARIABLE=value
52 # Other scripting that may be required prior to execution of the test may
53 # be placed here. Please note that if possible, logic should be confined
54 # to the Makefile and not placed here.