diff options
Diffstat (limited to 'texinfo/testsuite/makeinfo.0/conditions.exp')
-rw-r--r-- | texinfo/testsuite/makeinfo.0/conditions.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/texinfo/testsuite/makeinfo.0/conditions.exp b/texinfo/testsuite/makeinfo.0/conditions.exp new file mode 100644 index 00000000000..c62c66a2a04 --- /dev/null +++ b/texinfo/testsuite/makeinfo.0/conditions.exp @@ -0,0 +1,21 @@ +# 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 ./conditions.info $srcdir/text/conditions.texi" maki_out + +verbose "Makeinfo output: $maki_out" 1 + +# The gdb manual works around this by putting a blank line after the pair of +# @end if* commands. +setup_xfail "*-*-*" +if [string match \ + "Making*file*conditions*from*conditions.texi'." \ + "$maki_out" \ + ] then { + pass "texinfo conditions" +} else { + fail "texinfo conditions" +} +clear_xfail "*-*-*" |