aboutsummaryrefslogtreecommitdiff
path: root/texinfo/testsuite/makeinfo.0/mini.exp
blob: 17d48bdee6196ef12f21f3e6c4b568152876dc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Lessons:
# 1) may use \ to continue long lines
# 2) Careful in specifying string end on string match, to be sure
#    to exclude errors!  (cf output from nonsense.exp)

catch "exec $MAKEINFO -o ./mini.info $srcdir/text/minimal.texi" maki_out

verbose "Makeinfo output: $maki_out" 1

if [string match                               \
	"Making*file*mini*from*minimal.texi'." \
	"$maki_out"                            \
   ] then {
	pass "minimal source file"
} else {
	fail "minimal source file"
}