aboutsummaryrefslogtreecommitdiff
path: root/texinfo/testsuite/makeinfo.0/missnode.exp
blob: fb278f08cfb901ca943c48a6b1a627ccc25e27ea (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
#set real_verbose [set verbose]
#set verbose 2
catch "exec $MAKEINFO -o ./missnode.info $srcdir/text/missnode.texi" maki_out

verbose "Makeinfo output: $maki_out" 1

if [string match                                \
	"*Validation error*Next*doesn't exist*" \
	"$maki_out"                             \
   ] then {
	pass "missing Next detection"
} else {
	fail "missing Next detection"
}

if [string match                                \
	"*Validation error*Menu*doesn't exist*" \
	"$maki_out"                             \
   ] then {
	pass "missing menu entry detection"
} else {
	fail "missing menu entry detection"
}

#set verbose [set real_verbose]