summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/dogtag/shared/pki-cert-cli-lib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dogtag/shared/pki-cert-cli-lib.sh b/tests/dogtag/shared/pki-cert-cli-lib.sh
index c68afbb7e..2f765203c 100755
--- a/tests/dogtag/shared/pki-cert-cli-lib.sh
+++ b/tests/dogtag/shared/pki-cert-cli-lib.sh
@@ -196,7 +196,8 @@ local rand=$(cat /dev/urandom | tr -dc '0-9' | fold -w 5 | head -n 1)
[ "$profilename" != "caDirPinUserCert" ] || \
[ "$profilename" != "caDirUserCert" ] || \
[ "$profilename" != "caECDirUserCert" ] || \
- [ "$profilename" != "caAgentServerCert" ]; then
+ [ "$profilename" != "caAgentServerCert" ] && \
+ [ "$profilename" != "caUserCert" ]; then
rlRun "xmlstarlet ed -L -u \"CertEnrollmentRequest/Input/Attribute[@name='cert_request_type']/Value\" -v \"$request_type\" $xml_profile_file"
rlRun "xmlstarlet ed -L -u \"CertEnrollmentRequest/Input/Attribute[@name='cert_request']/Value\" -v \"$(cat -v $dir/$cert_request_file)\" $xml_profile_file"
rlRun "xmlstarlet ed -L -u \"CertEnrollmentRequest/Input/Attribute[@name='sn_cn']/Value\" -v \"$cn\" $xml_profile_file"