summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-03-18 11:05:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2022-03-25 20:58:33 +0000
commit06da77a365f3389ae15aadbc007ab4a7eaaac032 (patch)
tree3c6c3a21771bfc5e0c28185882095aa05bac68b8
parent970f1100863fda4e743023a9d2387f8aaee6c87e (diff)
downloadsamba-06da77a365f3389ae15aadbc007ab4a7eaaac032.tar.gz
testprogs: Manually reformat test_pkinit_pac.sh
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xtestprogs/blackbox/test_pkinit_pac.sh8
1 files changed, 6 insertions, 2 deletions
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