diff options
Diffstat (limited to 'macros/texinfo/contrib/texinfo-hu/texinfo/makeinfo/tests/html-extrali')
-rw-r--r-- | macros/texinfo/contrib/texinfo-hu/texinfo/makeinfo/tests/html-extrali | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/texinfo/contrib/texinfo-hu/texinfo/makeinfo/tests/html-extrali b/macros/texinfo/contrib/texinfo-hu/texinfo/makeinfo/tests/html-extrali new file mode 100644 index 0000000000..c3ec9ca08d --- /dev/null +++ b/macros/texinfo/contrib/texinfo-hu/texinfo/makeinfo/tests/html-extrali @@ -0,0 +1,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 |