gcc/texinfo/testsuite/makeinfo.0/missnode.exp
Jason Merrill 6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00

26 lines
654 B
Plaintext

#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]