From: brian Date: Fri, 10 Jun 2005 23:23:57 +0000 (+0000) Subject: Allow GSS password to be passed to the test-framework in $GSS_PASS. X-Git-Tag: v1_7_100~1203 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f24218109154516e02e9a60df1e5a6f078c5e63f Allow GSS password to be passed to the test-framework in $GSS_PASS. --- diff --git a/lustre/tests/krb5_env.sh b/lustre/tests/krb5_env.sh index fdd81d3..f20815b 100755 --- a/lustre/tests/krb5_env.sh +++ b/lustre/tests/krb5_env.sh @@ -71,7 +71,35 @@ prepare_krb5_cache() { fi echo "***** refresh Kerberos V5 TGT for uid $UID *****" - $KRB5DIR/bin/kinit + if [ -z "$GSS_PASS" ]; then + $KRB5DIR/bin/kinit + else + expect <