X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-sec.sh;h=b2f195051f9369390990312cbb2739fd165dba1b;hb=9b73c02192b3e16c322402e8c080e660ba2c457c;hp=b20c986435294e7890a4344a39e1fc11d3da6c4c;hpb=bad59dc7374777a4f4fa94fb323196218333cd9f;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index b20c986..b2f1950 100644 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -68,7 +68,7 @@ LUSTRE=${LUSTRE:-`dirname $0`/..} init_test_env $@ . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} -if [ ! -z "$USING_KRB5" ]; then +if $GSS_KRB5; then $RUNAS -u $ID1 krb5_login.sh || exit 1 $RUNAS -u $ID2 krb5_login.sh || exit 1 fi