summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/makeinfo/tests/top2
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/texinfo/makeinfo/tests/top2')
-rw-r--r--gnu/usr.bin/texinfo/makeinfo/tests/top211
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/texinfo/makeinfo/tests/top2 b/gnu/usr.bin/texinfo/makeinfo/tests/top2
new file mode 100644
index 00000000000..d38984654d5
--- /dev/null
+++ b/gnu/usr.bin/texinfo/makeinfo/tests/top2
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Test that a bare top node does not crash with --html.
+
+: ${srcdir=.}
+
+# But this input file is erroneous, so throw away errors.
+../makeinfo --force -o top2.html --html $srcdir/top2.txi 2>/dev/null
+test -s top2.html
+exit_status=$?
+rm -f top2.html
+exit $exit_status