summaryrefslogtreecommitdiff
path: root/makeinfo/tests/html-docdesc
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/html-docdesc')
-rwxr-xr-xmakeinfo/tests/html-docdesc12
1 files changed, 12 insertions, 0 deletions
diff --git a/makeinfo/tests/html-docdesc b/makeinfo/tests/html-docdesc
new file mode 100755
index 0000000..59df74e
--- /dev/null
+++ b/makeinfo/tests/html-docdesc
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Test that @documentdescription works.
+
+if ../makeinfo --html --no-split ${srcdir-.}/html-docdesc.txi; then
+ grep 'explicit document description' html-docdesc.html >/dev/null
+ exit_status=$?
+else
+ exit_status=1
+fi
+
+rm -f html-docdesc.html
+exit $exit_status