migrate to ${env_setup}

This commit is contained in:
Love Hornquist Astrand
2009-09-07 15:15:14 -07:00
parent 84d880b0a5
commit 9a106ac7da

View File

@@ -34,14 +34,16 @@
# $Id$
#
srcdir="@srcdir@"
top_builddir="@top_builddir@"
env_setup="@env_setup@"
objdir="@objdir@"
EGREP="@EGREP@"
. ${env_setup}
testfailed="echo test failed; cat messages.log; exit 1"
# If there is no useful db support compile in, disable test
../db/have-db || exit 77
${have_db} || exit 77
R=TEST.H5L.SE
R2=SUB.TEST.H5L.SE
@@ -102,7 +104,7 @@ echo Starting kdc
${kdc} &
kdcpid=$!
sh ${srcdir}/wait-kdc.sh
sh ${wait_kdc}
if [ "$?" != 0 ] ; then
kill -9 ${kdcpid}
exit 1
@@ -191,7 +193,7 @@ ${kdestroy}
echo "killing kdc (${kdcpid})"
sh ${srcdir}/leaks-kill.sh kdc $kdcpid || exit 1
sh ${leaks_kill} kdc $kdcpid || exit 1
trap "" EXIT