summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-07-08 07:46:36 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2012-07-08 07:46:36 +0000
commitcbc37ba55beb748020276bd133c1aa4e0246ac5c (patch)
treee71c5ab5199e4d437dd1b4624a40ec008798dafc
parent1eab193ab6f0eab43a14b03fe0d9055cd8d9dd9a (diff)
add a test for the fixed --help
-rw-r--r--regress/usr.bin/libtool/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/regress/usr.bin/libtool/Makefile b/regress/usr.bin/libtool/Makefile
index f6293f1c2eb..d1675d37996 100644
--- a/regress/usr.bin/libtool/Makefile
+++ b/regress/usr.bin/libtool/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.15 2012/07/07 18:27:18 espie Exp $
+# $OpenBSD: Makefile,v 1.16 2012/07/08 07:46:35 jasper Exp $
REGRESS_TARGETS = test-compile-0 test-link-0 test-install-0 \
test-run-0 test-link-1 test-install-1 test-run-1 \
test-link-2 test-link-3 test-run-2 test-run-3 \
error-1 error-2 error-3 test-alternate-0 \
- test-implicit-0 test-run-4 test-implicit-1
+ test-implicit-0 test-run-4 test-implicit-1 \
+ test-help
FAILING_TARGETS += error-0 error-4
.include <bsd.own.mk>
@@ -53,6 +54,9 @@ test-run-3: ${DEST}/bin/p2
test-run-4: p2
${LIBTOOL} --mode=execute p2
+test-help:
+ ${LIBTOOL} --help > /dev/null
+
# affects sysutils/nut
test-all-static: s1
file s1 | grep 'statically linked'