1#!/bin/sh 2 3hh="/System/Library/PrivateFrameworks/Heimdal.framework/Helpers" 4tt="/usr/local/libexec/heimdal/bin" 5testbase="/usr/local/libexec/heimdal/tests" 6EGREP="/usr/bin/grep -E" 7 8# Meant to be sourced (source or .) by the tester application, offers 9# most commands in heimdal as variables 10 11# regular apps 12hxtool="${TESTS_ENVIRONMENT} ${hh}/hxtool${asan}" 13iprop_log="${TESTS_ENVIRONMENT} ${hh}/iprop-log${asan}" 14ipropd_master="${TESTS_ENVIRONMENT} ${hh}/ipropd-master${asan}" 15ipropd_slave="${TESTS_ENVIRONMENT} ${hh}/ipropd-slave${asan}" 16kadmin="${TESTS_ENVIRONMENT} /usr/sbin/kadmin${asan}" 17kadmind="${TESTS_ENVIRONMENT} ${hh}/kadmind${asan}" 18kdc="${TESTS_ENVIRONMENT} ${hh}/kdc${asan} --no-sandbox" 19kdestroy="${TESTS_ENVIRONMENT} /usr/bin/kdestroy${asan}" 20kdigest="${TESTS_ENVIRONMENT} ${hh}/kdigest${asan}" 21kgetcred="${TESTS_ENVIRONMENT} /usr/bin/kgetcred${asan}" 22kimpersonate="${TESTS_ENVIRONMENT} ${hh}/kimpersonate${asan}" 23kinit="${TESTS_ENVIRONMENT} /usr/bin/kinit${asan}" 24kcc_binary="/usr/bin/kcc${asan}" 25klist="${TESTS_ENVIRONMENT} ${kcc_binary} list" 26kpasswd="${TESTS_ENVIRONMENT} /usr/bin/kpasswd${asan}" 27kpasswdd="${TESTS_ENVIRONMENT} ${hh}/kpasswdd${asan}" 28kswitch="${TESTS_ENVIRONMENT} ${kcc_binary} kswitch" 29ktutil="${TESTS_ENVIRONMENT} /usr/sbin/ktutil${asan}" 30hodadmin="${TESTS_ENVIRONMENT} ${hh}/hod-admin${asan}" 31gsstool="${TESTS_ENVIRONMENT} ${hh}/gsstool${asan}" 32 33# regression test tools 34test_ap_req="${TESTS_ENVIRONMENT} ${tt}/test_ap-req${asan}" 35test_gic="${TESTS_ENVIRONMENT} ${tt}/test_gic${asan}" 36test_renew="${TESTS_ENVIRONMENT} ${tt}/test_renew${asan}" 37test_ntlm="${TESTS_ENVIRONMENT} ${tt}/test_ntlm${asan}" 38test_gssntlm="${TESTS_ENVIRONMENT} ${tt}/test_gssntlm${asan}" 39test_gssscram="${TESTS_ENVIRONMENT} ${tt}/test_gssscram${asan}" 40test_context="${TESTS_ENVIRONMENT} ${tt}/test_context${asan}" 41test_gss_fuzzer="${TESTS_ENVIRONMENT} ${tt}/test_gss_fuzzer${asan}" 42test_acquire_cred="${TESTS_ENVIRONMENT} ${tt}/test_acquire_cred${asan}" 43test_kcred="${TESTS_ENVIRONMENT} ${tt}/test_kcred${asan}" 44rkpty="${TESTS_ENVIRONMENT} ${tt}/rkpty${asan}" 45test_commonauth="${TESTS_ENVIRONMENT} ${tt}/test_commonauth${asan}" 46test_scram="${TESTS_ENVIRONMENT} ${tt}/test_scram${asan}" 47test_sendto="${TESTS_ENVIRONMENT} ${tt}/test_sendto${asan}" 48http_client="${TESTS_ENVIRONMENT} ${tt}/http_client${asan}" 49winmount="${TESTS_ENVIRONMENT} ${tt}/heimdal-win-mount.py" 50test_gsscf="${TESTS_ENVIRONMENT} ${tt}/test_gsscf${asan}" 51 52# misc apps 53have_db="${testbase}/db/have-db" 54leaks_kill="${tt}/leaks-kill.sh" 55wait_kdc="${testbase}/kdc/wait-kdc.sh" 56 57# data 58hx509_data="/usr/local/libexec/heimdal/certs" 59 60# malloc debug 61HEIM_MALLOC_DEBUG="MallocStackLoggingNoCompact=1 MallocErrorAbort=1 MallocLogFile=/tmp/heim-malloc-log" 62