Home | History | Annotate | Line # | Download | only in tests
      1 #!/bin/sh
      2 # Test no extra <li> from @menu.
      3 
      4 : ${srcdir=.}
      5 
      6 li_count=`../makeinfo --no-split --html -o - $srcdir/html-extrali.txi 2>/dev/null \
      7 | grep '<li>' \
      8 | wc -l`
      9 
     10 if test "$li_count" -ne 1; then
     11   echo "$li_count <li>s instead of one." >&2
     12   exit 1
     13 else
     14   exit 0
     15 fi
     16