summaryrefslogtreecommitdiff
path: root/makeinfo/tests/emph-option
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/emph-option')
-rwxr-xr-xmakeinfo/tests/emph-option10
1 files changed, 10 insertions, 0 deletions
diff --git a/makeinfo/tests/emph-option b/makeinfo/tests/emph-option
new file mode 100755
index 0000000..2dfb150
--- /dev/null
+++ b/makeinfo/tests/emph-option
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Test @option inside @emph.
+
+unset TEXINFO_OUTPUT
+: ${srcdir=.}
+
+../makeinfo --no-split --html -o emph-option.out $srcdir/emph-option.txi || exit 1
+fgrep '<em>emphasized and referring to <samp></em>' emph-option.out && exit 3
+
+rm -f emph-option.out