Test for hdb-mitdb, including an MIT KDB file.

This commit is contained in:
Nicolas Williams
2011-09-26 16:16:05 -05:00
parent 308be3a9e2
commit c3936f72c3
6 changed files with 191 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.am.common
noinst_DATA = \
krb5.conf \
krb5-hdb-mitdb.conf.in \
krb5-weak.conf \
krb5-pkinit.conf \
krb5-pkinit-win.conf \
@@ -15,6 +16,7 @@ SCRIPT_TESTS = \
check-des \
check-digest \
check-kadmin \
check-hdb-mitdb \
check-kdc \
check-kdc-weak \
check-keys \
@@ -63,6 +65,11 @@ check-des: check-des.in Makefile krb5.conf
chmod +x check-des.tmp
mv check-des.tmp check-des
check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
$(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp
chmod +x check-hdb-mitdb.tmp
mv check-hdb-mitdb.tmp check-hdb-mitdb
check-kdc: check-kdc.in Makefile
$(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
chmod +x check-kdc.tmp
@@ -120,6 +127,13 @@ krb5.conf: krb5.conf.in Makefile
-e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
mv krb5.conf.tmp krb5.conf
krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
$(do_subst) \
-e 's,[@]WEAK[@],false,g' \
-e 's,[@]dk[@],,g' \
-e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp
mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
krb5-weak.conf: krb5.conf.in Makefile
$(do_subst) \
-e 's,[@]WEAK[@],true,g' \
@@ -196,6 +210,7 @@ EXTRA_DIST = \
check-digest.in \
check-iprop.in \
check-kadmin.in \
check-hdb-mitdb.in \
check-kdc.in \
check-kdc-weak.in \
check-keys.in \