summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc/Lk
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-02 20:18:43 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-07-02 20:18:43 +0000
commite7f17f11387e6268e11db031b45f8ce73bcadb67 (patch)
treeaedfe68534ec0b8135861572ca0d00c148bb784c /regress/usr.bin/mandoc/mdoc/Lk
parentdc0bdce4b544aa493fd4b6572810467a95ee79c5 (diff)
Improve and test the messages about empty macros,
in particular reporting the macro names involved.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Lk')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Lk/Makefile3
-rw-r--r--regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint1
2 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Lk/Makefile b/regress/usr.bin/mandoc/mdoc/Lk/Makefile
index 17864b0cf74..d9cbbe9539d 100644
--- a/regress/usr.bin/mandoc/mdoc/Lk/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Lk/Makefile
@@ -1,5 +1,6 @@
-# $OpenBSD: Makefile,v 1.2 2012/07/09 17:52:09 schwarze Exp $
+# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $
REGRESS_TARGETS = link noarg font
+LINT_TARGETS = noarg
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint
new file mode 100644
index 00000000000..d5a3af14f4f
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Lk/noarg.out_lint
@@ -0,0 +1 @@
+mandoc: noarg.in:13:2: WARNING: skipping empty macro: Lk