xref: /minix3/crypto/external/bsd/heimdal/dist/tests/bin/setup-env.in (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc#!/bin/sh
2*ebfedea0SLionel Sambuc
3*ebfedea0SLionel Sambucunset KRB5_CONFIG
4*ebfedea0SLionel Sambucunset KRB5CCNAME
5*ebfedea0SLionel Sambuc
6*ebfedea0SLionel Sambuctop_builddir="@top_builddir@"
7*ebfedea0SLionel Sambuctop_srcdir="@top_srcdir@"
8*ebfedea0SLionel SambucEGREP="@EGREP@"
9*ebfedea0SLionel SambucNO_AFS="@NO_AFS@"
10*ebfedea0SLionel Sambuc
11*ebfedea0SLionel Sambuc# Meant to be sourced (source or .) by the tester application, offers
12*ebfedea0SLionel Sambuc# most commands in heimdal as variables
13*ebfedea0SLionel Sambuc
14*ebfedea0SLionel Sambuc# regular apps
15*ebfedea0SLionel Sambuchxtool="${TESTS_ENVIRONMENT} ${top_builddir}/lib/hx509/hxtool"
16*ebfedea0SLionel Sambuciprop_log="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/iprop-log"
17*ebfedea0SLionel Sambucipropd_master="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/ipropd-master"
18*ebfedea0SLionel Sambucipropd_slave="${TESTS_ENVIRONMENT} ${top_builddir}/lib/kadm5/ipropd-slave"
19*ebfedea0SLionel Sambuckadmin="${TESTS_ENVIRONMENT} ${top_builddir}/kadmin/kadmin"
20*ebfedea0SLionel Sambuckadmind="${TESTS_ENVIRONMENT} ${top_builddir}/kadmin/kadmind"
21*ebfedea0SLionel Sambuckdc="${TESTS_ENVIRONMENT} ${top_builddir}/kdc/kdc"
22*ebfedea0SLionel Sambuckdestroy="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kdestroy"
23*ebfedea0SLionel Sambuckdigest="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kdigest"
24*ebfedea0SLionel Sambuckgetcred="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kgetcred"
25*ebfedea0SLionel Sambuckimpersonate="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kimpersonate"
26*ebfedea0SLionel Sambuckinit="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kinit"
27*ebfedea0SLionel Sambucklist="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kcc klist"
28*ebfedea0SLionel Sambuckpasswd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswd"
29*ebfedea0SLionel Sambuckpasswdd="${TESTS_ENVIRONMENT} ${top_builddir}/kpasswd/kpasswdd"
30*ebfedea0SLionel Sambuckswitch="${TESTS_ENVIRONMENT} ${top_builddir}/kuser/kcc kswitch"
31*ebfedea0SLionel Sambucktutil="${TESTS_ENVIRONMENT} ${top_builddir}/admin/ktutil"
32*ebfedea0SLionel Sambucgsstool="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/gsstool"
33*ebfedea0SLionel Sambuc
34*ebfedea0SLionel Sambuc# regression test tools
35*ebfedea0SLionel Sambuctest_ap_req="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_ap-req"
36*ebfedea0SLionel Sambuctest_gic="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_gic"
37*ebfedea0SLionel Sambuctest_renew="${TESTS_ENVIRONMENT} ${top_builddir}/lib/krb5/test_renew"
38*ebfedea0SLionel Sambuctest_ntlm="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_ntlm"
39*ebfedea0SLionel Sambuctest_context="${TESTS_ENVIRONMENT} ${top_builddir}/lib/gssapi/test_context"
40*ebfedea0SLionel Sambucrkpty="${TESTS_ENVIRONMENT} ${top_builddir}/lib/roken/rkpty"
41*ebfedea0SLionel Sambuc
42*ebfedea0SLionel Sambuc# misc apps
43*ebfedea0SLionel Sambuchave_db="${top_builddir}/tests/db/have-db"
44*ebfedea0SLionel Sambucleaks_kill="${top_srcdir}/tests/kdc/leaks-kill.sh"
45*ebfedea0SLionel Sambucwait_kdc="${top_srcdir}/tests/kdc/wait-kdc.sh"
46*ebfedea0SLionel Sambuc
47*ebfedea0SLionel Sambucif [ ! "${NO_AFS}" ] ; then
48*ebfedea0SLionel Sambuc    afs_no_unlog="--no-unlog"
49*ebfedea0SLionel Sambuc    afs_no_afslog="--no-afslog"
50*ebfedea0SLionel Sambucelse
51*ebfedea0SLionel Sambuc    afs_no_unlog=""
52*ebfedea0SLionel Sambuc    afs_no_afslog=""
53*ebfedea0SLionel Sambucfi
54*ebfedea0SLionel Sambuc
55*ebfedea0SLionel Sambuc# data
56*ebfedea0SLionel Sambuchx509_data="${top_srcdir}/lib/hx509/data"
57*ebfedea0SLionel Sambuc
58*ebfedea0SLionel Sambuc# malloc debug
59*ebfedea0SLionel SambucHEIM_MALLOC_DEBUG="MallocStackLoggingNoCompact=1 MallocErrorAbort=1 MallocLogFile=/tmp/heim-malloc-log"
60