diff options
author | Andreas Schneider <asn@samba.org> | 2016-09-21 00:01:35 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-09-25 09:05:27 +0200 |
commit | 2dac25249749734dfc2f27cb10088e97cecdc6ad (patch) | |
tree | 5f9d843140e478db9b9ce8bb32f48a2547562575 /testprogs | |
parent | 7abda740f5671ff6f1ef326cf80afb8b65a4e5e7 (diff) | |
download | samba-2dac25249749734dfc2f27cb10088e97cecdc6ad.tar.gz |
testprogs: Use own credential cache for test_client_etypes.sh
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_client_etypes.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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 |