summaryrefslogtreecommitdiff
path: root/makeinfo/tests/top
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/top')
-rwxr-xr-xmakeinfo/tests/top11
1 files changed, 11 insertions, 0 deletions
diff --git a/makeinfo/tests/top b/makeinfo/tests/top
new file mode 100755
index 0000000..c1288f3
--- /dev/null
+++ b/makeinfo/tests/top
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Test that a top node can be ignored.
+
+unset TEXINFO_OUTPUT
+: ${srcdir=.}
+../makeinfo $srcdir/top.txi || exit 1
+
+# Expected warnings due to use of @ifinfo instead of @ifnottex.
+../makeinfo --no-split --no-warn --html $srcdir/top.txi -o top.html || exit 1
+
+rm -f top*.html top.info