diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 19:08:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 19:08:11 +0000 |
commit | 76918e2e1d5b60e535b8c4ee567f001fa667bc1a (patch) | |
tree | e1b5ed9da404584e88719360d82b6cea2f7ad59c /regress/roff | |
parent | f20ec3ad8a63200ea468d6350f96622a33060719 (diff) | |
download | mandoc-76918e2e1d5b60e535b8c4ee567f001fa667bc1a.tar.gz |
Regression tests in place for `.if' in libroff.
Check against some strange `.if' constructs I missed.
Added initial roff.7 manual.
Diffstat (limited to 'regress/roff')
-rw-r--r-- | regress/roff/if/line-nest.in | 11 | ||||
-rw-r--r-- | regress/roff/if/multiline0.in | 12 | ||||
-rw-r--r-- | regress/roff/if/multiline1.in | 13 | ||||
-rw-r--r-- | regress/roff/if/multiline2.in | 15 | ||||
-rw-r--r-- | regress/roff/if/multiline3.in | 15 | ||||
-rw-r--r-- | regress/roff/if/simple0.in | 10 | ||||
-rw-r--r-- | regress/roff/if/simple1.in | 11 | ||||
-rw-r--r-- | regress/roff/if/simple2.in | 11 |
8 files changed, 98 insertions, 0 deletions
diff --git a/regress/roff/if/line-nest.in b/regress/roff/if/line-nest.in new file mode 100644 index 00000000..06e58b67 --- /dev/null +++ b/regress/roff/if/line-nest.in @@ -0,0 +1,11 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t .if t \ +fdsa +asdf diff --git a/regress/roff/if/multiline0.in b/regress/roff/if/multiline0.in new file mode 100644 index 00000000..0b6e132d --- /dev/null +++ b/regress/roff/if/multiline0.in @@ -0,0 +1,12 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t \{\ +asdf +.\} +fdsa diff --git a/regress/roff/if/multiline1.in b/regress/roff/if/multiline1.in new file mode 100644 index 00000000..b69edaf4 --- /dev/null +++ b/regress/roff/if/multiline1.in @@ -0,0 +1,13 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t \ +\{\ +asdf +.\} +fdsa diff --git a/regress/roff/if/multiline2.in b/regress/roff/if/multiline2.in new file mode 100644 index 00000000..6076685f --- /dev/null +++ b/regress/roff/if/multiline2.in @@ -0,0 +1,15 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t \{\ +asdf +. if t \{\ +shmoop moop +. \} +.\} +fdsa diff --git a/regress/roff/if/multiline3.in b/regress/roff/if/multiline3.in new file mode 100644 index 00000000..c32e902b --- /dev/null +++ b/regress/roff/if/multiline3.in @@ -0,0 +1,15 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t \{ .if t +asdf +. if t \{\ +shmoop moop +. \} +.\} +fdsa diff --git a/regress/roff/if/simple0.in b/regress/roff/if/simple0.in new file mode 100644 index 00000000..7ba9b7c9 --- /dev/null +++ b/regress/roff/if/simple0.in @@ -0,0 +1,10 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.if t \ +asdf diff --git a/regress/roff/if/simple1.in b/regress/roff/if/simple1.in new file mode 100644 index 00000000..0462ffce --- /dev/null +++ b/regress/roff/if/simple1.in @@ -0,0 +1,11 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.\" Note this has no whitespace... +.if t +asdf diff --git a/regress/roff/if/simple2.in b/regress/roff/if/simple2.in new file mode 100644 index 00000000..3d7a831b --- /dev/null +++ b/regress/roff/if/simple2.in @@ -0,0 +1,11 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +123 +.\" Note that this has whitespace... +.if t +asdf |