abstract out --no-afslog and --no-unlog
[heimdal.git] / tests / bin / setup-env.in
blob4857e177046e5a2a0ee51927dc107a239324cbb3
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/klist"
28 kpasswd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswd"
29 kpasswdd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswdd"
30 kswitch="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kswitch"
31 ktutil="${TESTS_ENVIRONMENT} ${top_builddir}/admin/ktutil"
33 # regression test tools
34 test_ap_req="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_ap-req"
35 test_gic="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_gic"
36 test_renew="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_renew"
37 test_ntlm="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_ntlm"
38 test_context="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_context"
39 rkpty="${TESTS_ENVIRONMENT} ${top_builddir}/lib/roken/rkpty"
41 # misc apps
42 have_db="${top_builddir}/tests/db/have-db"
43 leaks_kill="${top_srcdir}/tests/kdc/leaks-kill.sh"
44 wait_kdc="${top_srcdir}/tests/kdc/wait-kdc.sh"
46 if [ ! "${NO_AFS}" ] ; then
47 afs_no_unlog="--no-unlog"
48 afs_no_afslog="--no-afslog"
49 else
50 afs_no_unlog=""
51 afs_no_afslog=""
54 # data
55 hx509_data="${top_srcdir}/lib/hx509/data"
57 # malloc debug
58 HEIM_MALLOC_DEBUG="MallocStackLoggingNoCompact=1 MallocErrorAbort=1 MallocLogFile=/tmp/heim-malloc-log"