diff options
Diffstat (limited to 'makeinfo/tests/defxcond')
-rwxr-xr-x | makeinfo/tests/defxcond | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/makeinfo/tests/defxcond b/makeinfo/tests/defxcond new file mode 100755 index 0000000..e489867 --- /dev/null +++ b/makeinfo/tests/defxcond @@ -0,0 +1,16 @@ +#!/bin/sh +# Test conditionalized @deffnx. +# Report from: Akim Demaille <akim@epita.fr>, 14 Aug 2003 12:10:37 +0200. + +unset TEXINFO_OUTPUT +: ${srcdir=.} + +test=defxcond + +../makeinfo -Dbar -o $test.out $srcdir/$test.txi || exit 1 +grep ' -- bar:' $test.out >/dev/null || exit 2 + +../makeinfo -Ubar -o $test.out $srcdir/$test.txi || exit 3 +grep ' -- bar:' $test.out >/dev/null && exit 4 + +rm -f $test.out |