summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-05 12:08:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-05 12:08:52 +0000
commit6936c4e5a0bd4bddcfd7c9d08d801aba0415dbad (patch)
treee85d890b346e499d7bd9aab58c9c512adfbdae36 /regress
parent9e132a57b087be87cd731dd96397d9cc75b7bfa3 (diff)
downloadmandoc-6936c4e5a0bd4bddcfd7c9d08d801aba0415dbad.tar.gz
Added argv regression tests.
Table-ised argument flags in argv.c.
Diffstat (limited to 'regress')
-rw-r--r--regress/test.argv.008
-rw-r--r--regress/test.argv.017
2 files changed, 15 insertions, 0 deletions
diff --git a/regress/test.argv.00 b/regress/test.argv.00
new file mode 100644
index 00000000..fb637c40
--- /dev/null
+++ b/regress/test.argv.00
@@ -0,0 +1,8 @@
+.Dd $Mdocdate$
+.Dt test 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+.Ex -std
diff --git a/regress/test.argv.01 b/regress/test.argv.01
new file mode 100644
index 00000000..60568fe2
--- /dev/null
+++ b/regress/test.argv.01
@@ -0,0 +1,7 @@
+.Dd $Mdocdate$
+.Dt test 1
+.Os
+.Sh NAME
+.Nd bar
+.Sh DESCRIPTION
+.Ex -std