]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
testprogs: Manually reformat test_pkinit_pac.sh
authorAndreas Schneider <asn@samba.org>
Fri, 18 Mar 2022 10:05:23 +0000 (11:05 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 25 Mar 2022 20:58:33 +0000 (20:58 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
testprogs/blackbox/test_pkinit_pac.sh

index a5bbcad22a0a1cf12780c83dc3441201fc3f0f89..4c19136a106526b8da15a22ccfb7f177723b299a 100755 (executable)
@@ -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