From b2d2a37460e1dded12f4a9eb60cb1e57d69950b2 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 6 Sep 2009 18:48:31 -0700 Subject: [PATCH] migrate to setup-env --- tests/kdc/check-keys.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/kdc/check-keys.in b/tests/kdc/check-keys.in index 2c79ede54..721183f50 100644 --- a/tests/kdc/check-keys.in +++ b/tests/kdc/check-keys.in @@ -34,17 +34,20 @@ # $Id$ # -srcdir="@srcdir@" -objdir="@objdir@" -EGREP="@EGREP@" +top_builddir="@top_builddir@" +objdir="." + +. ${top_builddir}/tests/bin/setup-env + +srcdir="${top_srcdir}/tests/kdc" # If there is no useful db support compile in, disable test -../db/have-db || exit 77 +${have_db} || exit 77 R=TEST.H5L.SE principal=host/datan.test.h5l.se@${R} -kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -r $R -l" +kadmin="${kadmin} -l -r $R" CIN=${srcdir}/krb5.conf.keys.in COUT=${objdir}/krb5.conf.keys