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

: ${srcdir=.}

li_count=`../makeinfo --no-split --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