summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc/Fl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-12-04 13:08:11 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-12-04 13:08:11 +0000
commitfedbd0c07f4bf3db3126e1f080b73b665fa8c84c (patch)
tree9af17d57c5f45b78fcd7b01f0368107095ac28e7 /regress/usr.bin/mandoc/mdoc/Fl
parent6f55cc74313dde69547b7081f01e2bfe883ac520 (diff)
Now that we don't have groff in base any longer, check in the desired output,
such that the regression suite does not depend on ports.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Fl')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fl/multiarg.out_ascii10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fl/noarg.out_ascii12
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fl/punct.out_ascii10
3 files changed, 32 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fl/multiarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Fl/multiarg.out_ascii
new file mode 100644
index 00000000000..37bd9588249
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fl/multiarg.out_ascii
@@ -0,0 +1,10 @@
+FL-MULTIARG(1) OpenBSD Reference Manual FL-MULTIARG(1)
+
+NNAAMMEE
+ FFll--mmuullttiiaarrgg - multiple arguments to a Fl macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Each group of flags in --aa --bb --cc --ddeeff gets its own dash.
+
+ Punctuation characters like in [--aa | --bb] get no dash.
+
diff --git a/regress/usr.bin/mandoc/mdoc/Fl/noarg.out_ascii b/regress/usr.bin/mandoc/mdoc/Fl/noarg.out_ascii
new file mode 100644
index 00000000000..5134cf38c90
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fl/noarg.out_ascii
@@ -0,0 +1,12 @@
+FL-NOARG(1) OpenBSD Reference Manual FL-NOARG(1)
+
+NNAAMMEE
+ FFll--nnooaarrgg - Fl macro without arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ Without an argument, it yields -- a dash.
+
+ This is true even before punctuation --.
+
+ Following macros --[flag] follow without white space.
+
diff --git a/regress/usr.bin/mandoc/mdoc/Fl/punct.out_ascii b/regress/usr.bin/mandoc/mdoc/Fl/punct.out_ascii
new file mode 100644
index 00000000000..ecaafa90269
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fl/punct.out_ascii
@@ -0,0 +1,10 @@
+FL-PUNCT(1) OpenBSD Reference Manual FL-PUNCT(1)
+
+NNAAMMEE
+ FFll--ppuunncctt - punctuation handling by the Fl macro
+
+DDEESSCCRRIIPPTTIIOONN
+ closing punctuation --aa) only one --) only more than one --)) middle --aa) --zz
+ dot --. --zz comma --, --zz semicolon --; --zz colon --: --zz quest --? --zz excl --! --zz
+ paren --) --zz bracket --] --zz bar | --mm op paren (--aa op bracket [--aa
+