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