From: Andreas Schneider Date: Fri, 18 Mar 2022 10:05:23 +0000 (+0100) Subject: testprogs: Manually reformat test_pkinit_pac.sh X-Git-Tag: tevent-0.12.0~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06da77a365f3389ae15aadbc007ab4a7eaaac032;p=thirdparty%2Fsamba.git testprogs: Manually reformat test_pkinit_pac.sh Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/testprogs/blackbox/test_pkinit_pac.sh b/testprogs/blackbox/test_pkinit_pac.sh index a5bbcad22a0..4c19136a106 100755 --- a/testprogs/blackbox/test_pkinit_pac.sh +++ b/testprogs/blackbox/test_pkinit_pac.sh @@ -43,8 +43,12 @@ rm -f $KRB5CCNAME_PATH USER_PRINCIPAL_NAME=$(echo "${USERNAME}@${REALM}" | tr A-Z a-z) PKUSER="--pk-user=FILE:$PREFIX/pkinit/USER-${USER_PRINCIPAL_NAME}-cert.pem,$PREFIX/pkinit/USER-${USER_PRINCIPAL_NAME}-private-key.pem" -testit "STEP1 kinit with pkinit (name specified) " $samba4kinit $enctype --request-pac --renewable --cache=$KRB5CCNAME $PKUSER $USERNAME@$REALM || failed=$((failed + 1)) -testit "STEP1 remote.pac verification" $smbtorture4 ncacn_np:$SERVER rpc.pac --workgroup=$DOMAIN -U$USERNAME%$PASSWORD --option=torture:pkinit_ccache=$KRB5CCNAME || failed=$((failed + 1)) +testit "STEP1 kinit with pkinit (name specified) " \ + $samba4kinit $enctype --request-pac --renewable --cache=$KRB5CCNAME $PKUSER $USERNAME@$REALM || + failed=$((failed + 1)) +testit "STEP1 remote.pac verification" \ + $smbtorture4 ncacn_np:$SERVER rpc.pac --workgroup=$DOMAIN -U$USERNAME%$PASSWORD --option=torture:pkinit_ccache=$KRB5CCNAME || + failed=$((failed + 1)) rm -f $KRB5CCNAME_PATH exit $failed