fix warning
[heimdal.git] / tests / bin / setup-env.in
blob8e5691c54788a214480e2630d714637a015e22a4
1 #!/bin/sh
3 unset KRB5_CONFIG
4 unset KRB5CCNAME
6 top_builddir="@top_builddir@"
7 top_srcdir="@top_srcdir@"
8 EGREP="@EGREP@"
9 NO_AFS="@NO_AFS@"
11 # Meant to be sourced (source or .) by the tester application, offers
12 # most commands in heimdal as variables
14 # regular apps
15 hxtool="${TESTS_ENVIRONMENT} ${top_builddir}/lib/hx509/hxtool"
16 iprop_log="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/iprop-log"
17 ipropd_master="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/ipropd-master"
18 ipropd_slave="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/ipropd-slave"
19 kadmin="${TESTS_ENVIRONMENT} ${top_builddir}/kadmin/kadmin"
20 kadmind="${TESTS_ENVIRONMENT} ${top_builddir}/kadmin/kadmind"
21 kdc="${TESTS_ENVIRONMENT} ${top_builddir}/kdc/kdc"
22 kdestroy="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kdestroy"
23 kdigest="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kdigest"
24 kgetcred="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kgetcred"
25 kimpersonate="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kimpersonate"
26 kinit="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kinit"
27 klist="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kcc klist"
28 kpasswd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswd"
29 kpasswdd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswdd"
30 kswitch="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kcc kswitch"
31 ktutil="${TESTS_ENVIRONMENT} ${top_builddir}/admin/ktutil"
32 gsstool="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/gsstool"
34 # regression test tools
35 test_ap_req="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_ap-req"
36 test_gic="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_gic"
37 test_renew="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_renew"
38 test_ntlm="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_ntlm"
39 test_context="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_context"
40 rkpty="${TESTS_ENVIRONMENT} ${top_builddir}/lib/roken/rkpty"
42 # misc apps
43 have_db="${top_builddir}/tests/db/have-db"
44 leaks_kill="${top_srcdir}/tests/kdc/leaks-kill.sh"
45 wait_kdc="${top_srcdir}/tests/kdc/wait-kdc.sh"
47 if [ ! "${NO_AFS}" ] ; then
48 afs_no_unlog="--no-unlog"
49 afs_no_afslog="--no-afslog"
50 else
51 afs_no_unlog=""
52 afs_no_afslog=""
55 # data
56 hx509_data="${top_srcdir}/lib/hx509/data"
58 # malloc debug
59 HEIM_MALLOC_DEBUG="MallocStackLoggingNoCompact=1 MallocErrorAbort=1 MallocLogFile=/tmp/heim-malloc-log"