xref: /netbsd-src/external/gpl2/texinfo/dist/makeinfo/tests/html-extrali (revision 53d1339bf7f9c7367b35a9e1ebe693f9b047a47b)
1#!/bin/sh
2# Test no extra <li> from @menu.
3
4: ${srcdir=.}
5
6li_count=`../makeinfo --no-split --html -o - $srcdir/html-extrali.txi 2>/dev/null \
7| grep '<li>' \
8| wc -l`
9
10if test "$li_count" -ne 1; then
11  echo "$li_count <li>s instead of one." >&2
12  exit 1
13else
14  exit 0
15fi
16