diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-10-02 12:40:25 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2015-06-15 12:47:08 -0400 |
commit | 1c3c40454f18f2165b959e6ecd856d5ddbbcb4c2 (patch) | |
tree | 4d7fdd38ed31e42b5b1d32fdfb054c71e52cf604 /src/tests/Makefile.in | |
parent | b9820f5b3bfe1347565a39b6f8dce97828e8a2a3 (diff) | |
download | krb5-1c3c40454f18f2165b959e6ecd856d5ddbbcb4c2.zip krb5-1c3c40454f18f2165b959e6ecd856d5ddbbcb4c2.tar.gz krb5-1c3c40454f18f2165b959e6ecd856d5ddbbcb4c2.tar.bz2 |
Add KDC authdata tests
Add a new test script t_authdata.py and a C harness adata.c to test
KDC authdata handling logic. KDB module authdata is not currently
tested.
Diffstat (limited to 'src/tests/Makefile.in')
-rw-r--r-- | src/tests/Makefile.in | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in index 6fdbbef..121c1e1 100644 --- a/src/tests/Makefile.in +++ b/src/tests/Makefile.in @@ -5,10 +5,10 @@ SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib \ RUN_SETUP = @KRB5_RUN_ENV@ KRB5_KDC_PROFILE=kdc.conf KRB5_CONFIG=krb5.conf -OBJS= gcred.o hist.o hrealm.o kdbtest.o plugorder.o t_init_creds.o \ +OBJS= adata.o gcred.o hist.o hrealm.o kdbtest.o plugorder.o t_init_creds.o \ t_localauth.o rdreq.o responder.o s2p.o -EXTRADEPSRCS= gcred.c hist.c hrealm.c kdbtest.c plugorder.c t_init_creds.c \ - t_localauth.c rdreq.o responder.c s2p.c +EXTRADEPSRCS= adata.c gcred.c hist.c hrealm.c kdbtest.c plugorder.c \ + t_init_creds.c t_localauth.c rdreq.o responder.c s2p.c TEST_DB = ./testdb TEST_REALM = FOO.TEST.REALM @@ -20,6 +20,9 @@ TEST_PREFIX = "foo bar" KADMIN_OPTS= -d $(TEST_DB) -r $(TEST_REALM) -P $(TEST_MKEY) KTEST_OPTS= $(KADMIN_OPTS) -p $(TEST_PREFIX) -n $(TEST_NUM) -D $(TEST_DEPTH) +adata: adata.o $(KRB5_BASE_DEPLIBS) + $(CC_LINK) -o $@ adata.o $(KRB5_BASE_LIBS) + gcred: gcred.o $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o $@ gcred.o $(KRB5_BASE_LIBS) @@ -97,8 +100,8 @@ kdb_check: kdc.conf krb5.conf $(RUN_SETUP) $(VALGRIND) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) destroy -f $(RM) $(TEST_DB)* stash_file -check-pytests:: gcred hist hrealm kdbtest plugorder rdreq responder s2p -check-pytests:: t_init_creds t_localauth unlockiter +check-pytests:: adata gcred hist hrealm kdbtest plugorder rdreq responder +check-pytests:: s2p t_init_creds t_localauth unlockiter $(RUNPYTEST) $(srcdir)/t_general.py $(PYTESTFLAGS) $(RUNPYTEST) $(srcdir)/t_dump.py $(PYTESTFLAGS) $(RUNPYTEST) $(srcdir)/t_iprop.py $(PYTESTFLAGS) @@ -142,9 +145,10 @@ check-pytests:: t_init_creds t_localauth unlockiter $(RUNPYTEST) $(srcdir)/t_proxy.py $(PYTESTFLAGS) $(RUNPYTEST) $(srcdir)/t_unlockiter.py $(PYTESTFLAGS) $(RUNPYTEST) $(srcdir)/t_errmsg.py $(PYTESTFLAGS) + $(RUNPYTEST) $(srcdir)/t_authdata.py $(PYTESTFLAGS) clean:: - $(RM) gcred hist hrealm kdbtest plugorder rdreq responder s2p + $(RM) adata gcred hist hrealm kdbtest plugorder rdreq responder s2p $(RM) t_init_creds t_localauth krb5.conf kdc.conf $(RM) -rf kdc_realm/sandbox ldap $(RM) au.log |