summaryrefslogtreecommitdiff
path: root/gnu/dist/texinfo/makeinfo/tests/html-extrali
blob: 22ecd896ad70b050da100ff24a9a75d95772ea6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Test no extra <li> from @menu.

li_count=`../makeinfo --html -o - ${srcdir-.}/html-extrali.txi 2>/dev/null \
| grep '<li>' \
| wc -l`

if test "$li_count" -ne 1; then
  echo "$li_count <li>s instead of one." >&2
  exit 1
else
  exit 0
fi