summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNiranjan Mallapadi <mrniranjan@redhat.com>2014-12-01 15:24:52 +0530
committerNiranjan Mallapadi <mrniranjan@redhat.com>2014-12-01 16:44:11 +0530
commite5a9fd0427bd4546fe53f0f63569d6fbe9e27af3 (patch)
tree48824318317e116be5c98be36d71c0b3319a7899 /tests
parent1e9024758746b879a013099a3873a68d9d9fb9d0 (diff)
downloadpki-e5a9fd0427bd4546fe53f0f63569d6fbe9e27af3.tar.gz
pki-e5a9fd0427bd4546fe53f0f63569d6fbe9e27af3.tar.xz
pki-e5a9fd0427bd4546fe53f0f63569d6fbe9e27af3.zip
Minor fixes to pki-cert-cli-lib.sh
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dogtag/shared/pki-cert-cli-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dogtag/shared/pki-cert-cli-lib.sh b/tests/dogtag/shared/pki-cert-cli-lib.sh
index 1f265b1e3..403b8d5c2 100755
--- a/tests/dogtag/shared/pki-cert-cli-lib.sh
+++ b/tests/dogtag/shared/pki-cert-cli-lib.sh
@@ -632,6 +632,7 @@ generate_new_cert()
return 1;
}
fi
+ local subject_cn=$(cat $tmp_nss_db/$rand-request-dn.txt | grep "CN" | cut -d":" -f2)
rlAssertGrep "Request Status: pending" "$tmp_nss_db/$rand-request-result.txt"
rlAssertGrep "Operation Result: success" "$tmp_nss_db/$rand-request-result.txt"
local cert_requestid=$(cat $tmp_nss_db/$rand-request-result.txt | grep "REQUEST_ID_RETURNED" | cut -d":" -f2)