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