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

: ${srcdir=.}

li_count=`../makeinfo --no-split --html -o - $srcdir/html-extrali.txi 2>/dev/null \
| grep -c '<li>'`

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