Home | History | Annotate | Line # | Download | only in tests
      1 #!/bin/sh
      2 # Test conditionalized @deffnx.
      3 # Report from: Akim Demaille <akim (at] epita.fr>, 14 Aug 2003 12:10:37 +0200.
      4 
      5 unset TEXINFO_OUTPUT
      6 : ${srcdir=.}
      7 
      8 test=defxcond
      9 
     10 ../makeinfo -Dbar -o $test.out $srcdir/$test.txi || exit 1
     11 grep ' -- bar:' $test.out >/dev/null || exit 2
     12 
     13 ../makeinfo -Ubar -o $test.out $srcdir/$test.txi || exit 3
     14 grep ' -- bar:' $test.out >/dev/null && exit 4
     15 
     16 rm -f $test.out
     17