add kinit test to kdc-tester
[heimdal.git] / tests / kdc / Makefile.am
blob860c5214025071382c62ec34df2a03d3000971a2
1 include $(top_srcdir)/Makefile.am.common
3 noinst_DATA = \
4         krb5.conf \
5         krb5-canon.conf \
6         krb5-canon2.conf \
7         krb5-hdb-mitdb.conf \
8         krb5-weak.conf \
9         krb5-pkinit.conf \
10         krb5-pkinit-win.conf \
11         krb5-slave.conf
13 check_SCRIPTS = $(SCRIPT_TESTS) 
15 SCRIPT_TESTS = \
16         check-canon \
17         check-cc \
18         check-delegation \
19         check-des \
20         check-digest \
21         check-fast \
22         check-kadmin \
23         check-hdb-mitdb \
24         check-kdc \
25         check-kdc-weak \
26         check-keys \
27         check-kpasswdd \
28         check-pkinit \
29         check-iprop \
30         check-referral \
31         check-tester \
32         check-uu
34 TESTS = $(SCRIPT_TESTS)
36 port = 49188
37 admport = 49189
38 pwport = 49190
40 if HAVE_DLOPEN
41 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
42 else
43 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
44 endif
46 do_subst = sed $(do_dlopen) \
47         -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
48         -e 's,[@]srcdir[@],$(srcdir),g' \
49         -e 's,[@]port[@],$(port),g' \
50         -e 's,[@]admport[@],$(admport),g' \
51         -e 's,[@]pwport[@],$(pwport),g' \
52         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
53         -e 's,[@]top_builddir[@],$(top_builddir),g' \
54         -e 's,[@]EGREP[@],$(EGREP),g' 
56 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
58 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
59         $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp
60         chmod +x check-canon.tmp
61         mv check-canon.tmp check-canon
63 check-cc: check-cc.in Makefile
64         $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
65         chmod +x check-cc.tmp
66         mv check-cc.tmp check-cc
68 check-delegation: check-delegation.in Makefile
69         $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp
70         chmod +x check-delegation.tmp
71         mv check-delegation.tmp check-delegation
73 check-des: check-des.in Makefile krb5.conf
74         $(do_subst) < $(srcdir)/check-des.in > check-des.tmp
75         chmod +x check-des.tmp
76         mv check-des.tmp check-des
78 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
79         $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp
80         chmod +x check-hdb-mitdb.tmp
81         mv check-hdb-mitdb.tmp check-hdb-mitdb
83 check-fast: check-fast.in Makefile
84         $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp
85         chmod +x check-fast.tmp
86         mv check-fast.tmp check-fast
88 check-kdc: check-kdc.in Makefile
89         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
90         chmod +x check-kdc.tmp
91         mv check-kdc.tmp check-kdc
93 check-kdc-weak: check-kdc-weak.in Makefile
94         $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp
95         chmod +x check-kdc-weak.tmp
96         mv check-kdc-weak.tmp check-kdc-weak
98 check-tester: check-tester.in Makefile
99         $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp
100         chmod +x check-tester.tmp
101         mv check-tester.tmp check-tester
103 check-keys: check-keys.in Makefile
104         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
105         chmod +x check-keys.tmp
106         mv check-keys.tmp check-keys
108 check-kadmin: check-kadmin.in Makefile
109         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
110         chmod +x check-kadmin.tmp
111         mv check-kadmin.tmp check-kadmin
113 check-uu: check-uu.in Makefile
114         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
115         chmod +x check-uu.tmp
116         mv check-uu.tmp check-uu
118 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
119         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
120         chmod +x check-pkinit.tmp
121         mv check-pkinit.tmp check-pkinit
123 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
124         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
125         chmod +x check-iprop.tmp
126         mv check-iprop.tmp check-iprop
128 check-digest: check-digest.in Makefile
129         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
130         chmod +x check-digest.tmp
131         mv check-digest.tmp check-digest
133 check-referral: check-referral.in Makefile
134         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
135         chmod +x check-referral.tmp
136         mv check-referral.tmp check-referral
138 check-kpasswdd: check-kpasswdd.in Makefile
139         $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
140         chmod +x check-kpasswdd.tmp
141         mv check-kpasswdd.tmp check-kpasswdd
143 krb5.conf: krb5.conf.in Makefile
144         $(do_subst) \
145            -e 's,[@]WEAK[@],false,g' \
146            -e 's,[@]dk[@],,g' \
147            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
148         mv krb5.conf.tmp krb5.conf
150 krb5-canon.conf: krb5-canon.conf.in Makefile
151         $(do_subst) \
152            -e 's,[@]WEAK[@],false,g' \
153            -e 's,[@]dk[@],,g' \
154            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp
155         mv krb5-canon.conf.tmp krb5-canon.conf
157 krb5-canon2.conf: krb5-canon2.conf.in Makefile
158         $(do_subst) \
159            -e 's,[@]WEAK[@],false,g' \
160            -e 's,[@]dk[@],,g' \
161            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp
162         mv krb5-canon2.conf.tmp krb5-canon2.conf
164 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
165         $(do_subst) \
166            -e 's,[@]WEAK[@],false,g' \
167            -e 's,[@]dk[@],,g' \
168            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp
169         mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
171 krb5-weak.conf: krb5.conf.in Makefile
172         $(do_subst) \
173            -e 's,[@]WEAK[@],true,g' \
174            -e 's,[@]dk[@],default_keys = aes256-cts-hmac-sha1-96:pw-salt arcfour-hmac-md5:pw-salt des3-cbc-sha1:pw-salt des:pw-salt,g' \
175            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
176         mv krb5-weak.conf.tmp krb5-weak.conf
178 krb5-slave.conf: krb5.conf.in Makefile
179         $(do_subst) \
180            -e 's,[@]WEAK[@],true,g' \
181            -e 's,[@]dk[@],,g' \
182            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
183         mv krb5-slave.conf.tmp krb5-slave.conf
185 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
186         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
187         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
189 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
190         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
191         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
193 CLEANFILES= \
194         $(TESTS) \
195         iprop-stats \
196         barpassword \
197         cache.krb5 \
198         cdigest-reply \
199         *.tmp \
200         client-cache \
201         current-db* \
202         current*.log \
203         iprop.keytab \
204         digest-reply \
205         foopassword \
206         krb5.conf \
207         krb5-canon.conf \
208         krb5-canon2.conf \
209         krb5-weak.conf \
210         krb5.conf.keys \
211         krb5-cc.conf \
212         krb5-slave.conf \
213         krb5-pkinit.conf \
214         krb5-pkinit-win.conf \
215         signal \
216         leaks-log \
217         malloc-log \
218         malloc-log-master \
219         malloc-log-slave \
220         messages.log \
221         o2cache.krb5 \
222         o2digest-reply \
223         ocache.krb5 \
224         s2digest-reply \
225         sdigest-init \
226         sdigest-reply \
227         server.keytab \
228         req-pkinit.der \
229         req-pkinit2.der \
230         req-kdc.der \
231         pkinit.crt \
232         pkinit2.crt \
233         pkinit3.crt \
234         pkinit4.crt \
235         kdc.crt \
236         ca.crt \
237         uuserver.log \
238         tempfile \
239         test-rc-file.rc
241 EXTRA_DIST = \
242         NTMakefile \
243         check-canon.in \
244         check-cc.in \
245         check-delegation.in \
246         check-des.in \
247         check-digest.in \
248         check-iprop.in \
249         check-kadmin.in \
250         check-hdb-mitdb.in \
251         check-kdc.in \
252         check-kdc-weak.in \
253         check-keys.in \
254         check-kpasswdd.in \
255         check-pkinit.in \
256         check-referral.in \
257         check-tester.in \
258         check-uu.in \
259         donotexists.txt \
260         heimdal.acl \
261         iprop-acl \
262         krb5-pkinit.conf.in \
263         krb5.conf.in \
264         krb5-canon.conf.in \
265         krb5-canon2.conf.in \
266         krb5-hdb-mitdb.conf.in \
267         krb5.conf.keys.in \
268         ntlm-user-file.txt \
269         leaks-kill.sh \
270         pki-mapping \
271         uuserver.txt \
272         wait-kdc.sh