diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-19 14:16:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-19 14:16:54 +0000 |
commit | 4669230618fa404774f3987081dc67daee437ef9 (patch) | |
tree | 1779ce48b5b8af47d359f1c1beaa27f3da010ab2 /regress/usr.bin | |
parent | 4483b1e33f916221f747c95f5b215b546d07df64 (diff) |
After the recent cleanup of .TH date handling,
publish a few more regression tests found in my tree.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/baddate.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/baddate.out_ascii | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/emptydate.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/emptydate.out_ascii | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/isodate.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/isodate.out_ascii | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/mdocdate.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/mdocdate.out_ascii | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/onlyyear.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/onlyyear.out_ascii | 13 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/twoargs.in | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/TH/twoargs.out_ascii | 13 |
13 files changed, 111 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/TH/Makefile b/regress/usr.bin/mandoc/man/TH/Makefile index d65eb6794c5..968309c2158 100644 --- a/regress/usr.bin/mandoc/man/TH/Makefile +++ b/regress/usr.bin/mandoc/man/TH/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ +# $OpenBSD: Makefile,v 1.3 2011/11/19 14:16:53 schwarze Exp $ -REGRESS_TARGETS=noarg onearg sixargs +REGRESS_TARGETS = noarg onearg twoargs sixargs +REGRESS_TARGETS += emptydate onlyyear isodate mdocdate baddate .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/man/TH/baddate.in b/regress/usr.bin/mandoc/man/TH/baddate.in new file mode 100644 index 00000000000..c8819696f88 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/baddate.in @@ -0,0 +1,5 @@ +.TH TH-BADDATE 1 "three bad words" source +.SH NAME +TH-baddate \- the date has three words, but bad ones +.SH DESCRIPTION +Some text. diff --git a/regress/usr.bin/mandoc/man/TH/baddate.out_ascii b/regress/usr.bin/mandoc/man/TH/baddate.out_ascii new file mode 100644 index 00000000000..a3a66cd365f --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/baddate.out_ascii @@ -0,0 +1,13 @@ +TH-BADDATE(1) TH-BADDATE(1) + + + +NNAAMMEE + TH-baddate - the date has three words, but bad ones + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source three bad words TH-BADDATE(1) diff --git a/regress/usr.bin/mandoc/man/TH/emptydate.in b/regress/usr.bin/mandoc/man/TH/emptydate.in new file mode 100644 index 00000000000..da4b79501e9 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/emptydate.in @@ -0,0 +1,5 @@ +.TH TH-EMPTYDATE 1 "" source +.SH NAME +TH-emptydate \- an empty date string +.SH DESCRIPTION +Some text. diff --git a/regress/usr.bin/mandoc/man/TH/emptydate.out_ascii b/regress/usr.bin/mandoc/man/TH/emptydate.out_ascii new file mode 100644 index 00000000000..ba87e015139 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/emptydate.out_ascii @@ -0,0 +1,13 @@ +TH-EMPTYDATE(1) TH-EMPTYDATE(1) + + + +NNAAMMEE + TH-emptydate - an empty date string + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source TH-EMPTYDATE(1) diff --git a/regress/usr.bin/mandoc/man/TH/isodate.in b/regress/usr.bin/mandoc/man/TH/isodate.in new file mode 100644 index 00000000000..ff483ff8de7 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/isodate.in @@ -0,0 +1,5 @@ +.TH TH-ISODATE 1 "2011-07-02" source +.SH NAME +TH-isodate \- ISO date format +.SH DESCRIPTION +Some text. diff --git a/regress/usr.bin/mandoc/man/TH/isodate.out_ascii b/regress/usr.bin/mandoc/man/TH/isodate.out_ascii new file mode 100644 index 00000000000..4a3c0170aa4 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/isodate.out_ascii @@ -0,0 +1,13 @@ +TH-ISODATE(1) TH-ISODATE(1) + + + +NNAAMMEE + TH-isodate - ISO date format + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source 2011-07-02 TH-ISODATE(1) diff --git a/regress/usr.bin/mandoc/man/TH/mdocdate.in b/regress/usr.bin/mandoc/man/TH/mdocdate.in new file mode 100644 index 00000000000..1def0a1c06b --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/mdocdate.in @@ -0,0 +1,5 @@ +.TH TH-MDOCDATE 1 "July 2, 2011" source +.SH NAME +TH-mdocdate \- standard mdoc(7) date format +.SH DESCRIPTION +Some text. diff --git a/regress/usr.bin/mandoc/man/TH/mdocdate.out_ascii b/regress/usr.bin/mandoc/man/TH/mdocdate.out_ascii new file mode 100644 index 00000000000..c80277a4c49 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/mdocdate.out_ascii @@ -0,0 +1,13 @@ +TH-MDOCDATE(1) TH-MDOCDATE(1) + + + +NNAAMMEE + TH-mdocdate - standard mdoc(7) date format + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source July 2, 2011 TH-MDOCDATE(1) diff --git a/regress/usr.bin/mandoc/man/TH/onlyyear.in b/regress/usr.bin/mandoc/man/TH/onlyyear.in new file mode 100644 index 00000000000..1762438f5d5 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/onlyyear.in @@ -0,0 +1,5 @@ +.TH TH-ONLYYEAR 1 2011 source +.SH NAME +TH-onlyyear \- the date has only a year +.SH DESCRIPTION +Some text. diff --git a/regress/usr.bin/mandoc/man/TH/onlyyear.out_ascii b/regress/usr.bin/mandoc/man/TH/onlyyear.out_ascii new file mode 100644 index 00000000000..45a9a8a8dea --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/onlyyear.out_ascii @@ -0,0 +1,13 @@ +TH-ONLYYEAR(1) TH-ONLYYEAR(1) + + + +NNAAMMEE + TH-onlyyear - the date has only a year + +DDEESSCCRRIIPPTTIIOONN + Some text. + + + +source 2011 TH-ONLYYEAR(1) diff --git a/regress/usr.bin/mandoc/man/TH/twoargs.in b/regress/usr.bin/mandoc/man/TH/twoargs.in new file mode 100644 index 00000000000..6048321a860 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/twoargs.in @@ -0,0 +1,5 @@ +.TH TH-TWOARGS +.SH NAME +TH-twoargs \- only two arguments to the TH macro +.SH DESCRIPTION +some text diff --git a/regress/usr.bin/mandoc/man/TH/twoargs.out_ascii b/regress/usr.bin/mandoc/man/TH/twoargs.out_ascii new file mode 100644 index 00000000000..b05312fdbe5 --- /dev/null +++ b/regress/usr.bin/mandoc/man/TH/twoargs.out_ascii @@ -0,0 +1,13 @@ +TH-TWOARGS() TH-TWOARGS() + + + +NNAAMMEE + TH-twoargs - only two arguments to the TH macro + +DDEESSCCRRIIPPTTIIOONN + some text + + + + TH-TWOARGS() |