blob: 1cb10e757109d251fc0182eac83335acb7cbf490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: spec,v 1.1 2006/07/10 12:47:26 rillig Exp $
#
do_test() {
{
${TEST_MAKE} "clean"
# Because of the missing USE_TOOLS+=perl, this test is expected
# to fail.
${TEST_MAKE} || echo "The first call failed with exit code $?."
# Calling make(1) a second time must not change things.
${TEST_MAKE} || echo "The second call failed with exit code $?."
} 1>"${TEST_OUTFILE}" 2>&1
}
check_result() {
exit_status "0"
output_require "USE_TOOLS\\+=perl"
output_require "The first call.*1\\.\$"
output_require "The second call.*1\\.\$"
}
|