aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
-rwxr-xr-xt.x509_name_match2
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 6a12786b..3f8f8ea0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,7 +46,7 @@ DEPENDENCIES= libfm.a $(LIBOBJS)
check_PROGRAMS=
-TESTS= t.smoke t.validate-xhtml
+TESTS= t.smoke t.validate-xhtml t.x509_name_match
TESTS_ENVIRONMENT= srcdir="$(srcdir)" LC_ALL=C TZ=UTC SHELL="$(SHELL)" $(SHELL)
if NEED_TRIO
@@ -99,7 +99,8 @@ if NEED_GETADDRINFO
fetchmail_SOURCES += libesmtp/getaddrinfo.h libesmtp/getaddrinfo.c
endif
-check_PROGRAMS += rfc822 unmime netrc rfc2047e mxget rfc822valid
+check_PROGRAMS += rfc822 unmime netrc rfc2047e mxget rfc822valid \
+ x509_name_match
rfc2047e_CFLAGS= -DTEST
@@ -107,6 +108,8 @@ rfc822valid_CFLAGS= -DTEST
rfc822_CFLAGS= -DMAIN
+x509_name_match_CFLAGS= -DTEST
+
unmime_SOURCES= unmime.c
unmime_CFLAGS= -DSTANDALONE -DHAVE_CONFIG_H -I$(builddir)
diff --git a/t.x509_name_match b/t.x509_name_match
new file mode 100755
index 00000000..87af1f8d
--- /dev/null
+++ b/t.x509_name_match
@@ -0,0 +1,2 @@
+#! /bin/sh
+exec ./x509_name_match ${TEST_VERBOSE:+-v}