From 2dac25249749734dfc2f27cb10088e97cecdc6ad Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 21 Sep 2016 00:01:35 +0200 Subject: testprogs: Use own credential cache for test_client_etypes.sh Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- testprogs/blackbox/test_client_etypes.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testprogs') diff --git a/testprogs/blackbox/test_client_etypes.sh b/testprogs/blackbox/test_client_etypes.sh index 57739c6e97e..98ff73ad6ba 100755 --- a/testprogs/blackbox/test_client_etypes.sh +++ b/testprogs/blackbox/test_client_etypes.sh @@ -15,6 +15,12 @@ EXPECTED_ETYPES="$6" # Load test functions . `dirname $0`/subunit.sh +KRB5CCNAME_PATH="$PREFIX/test_client_etypes_krb5ccname" +rm -f $KRB5CCNAME_PATH + +KRB5CCNAME="FILE:$KRB5CCNAME_PATH" +export KRB5CCNAME + #requires tshark and sha1sum if ! which tshark > /dev/null 2>&1 || ! which sha1sum > /dev/null 2>&1 ; then subunit_start_test "client encryption types" @@ -71,5 +77,7 @@ actual_types="`tshark -r $pcap_file -nVY "kerberos" | \ testit "verify types" test "x$actual_types" = "x$EXPECTED_ETYPES" || failed=`expr $failed + 1` rm -rf $BASEDIR/$WORKDIR +rm -f $KRB5CCNAME_PATH + exit $failed -- cgit v1.2.1