summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNiranjan Mallapadi <mrniranjan@redhat.com>2014-04-21 19:09:47 +0530
committerNiranjan Mallapadi <mrniranjan@redhat.com>2014-05-14 23:04:05 +0530
commitc473ab9fa4c16914301cf6494a93acb7a0b2f4fe (patch)
tree04a1bd864c04d93b0bc5646063a0f5515de2b36c /tests
parent8932cb491a1d0f4ee6f3a343e2f23702a63cca38 (diff)
downloadpki-c473ab9fa4c16914301cf6494a93acb7a0b2f4fe.tar.gz
pki-c473ab9fa4c16914301cf6494a93acb7a0b2f4fe.tar.xz
pki-c473ab9fa4c16914301cf6494a93acb7a0b2f4fe.zip
Add pki-cert-release-hold.sh to runtest.sh
add pki-cert-hold.sh to runtest add modified pki cert functions to runtest add run_pki-cert-request-submit_tests to runtest
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dogtag/runtest.sh42
1 files changed, 33 insertions, 9 deletions
diff --git a/tests/dogtag/runtest.sh b/tests/dogtag/runtest.sh
index a81e9b927..4c4e1d56a 100755
--- a/tests/dogtag/runtest.sh
+++ b/tests/dogtag/runtest.sh
@@ -38,6 +38,9 @@
. /opt/rhqa_pki/saving_codecoverage_results.sh
# Include tests
+
+#. ./acceptance/quickinstall/rhcs-set-time.sh
+. ./acceptance/quickinstall/rhcs-set-time.sh
. ./acceptance/quickinstall/rhcs-install.sh
. ./acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-ca.sh
. ./acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-add-ca.sh
@@ -58,6 +61,9 @@
. ./acceptance/cli-tests/pki-cert-cli/pki-cert-request-show.sh
. ./acceptance/cli-tests/pki-cert-cli/pki-bigInt.sh
. ./acceptance/cli-tests/pki-cert-cli/pki-cert-revoke.sh
+. ./acceptance/cli-tests/pki-cert-cli/pki-cert-release-hold.sh
+. ./acceptance/cli-tests/pki-cert-cli/pki-cert-hold.sh
+. ./acceptance/cli-tests/pki-cert-cli/pki-cert-cli-request-submit-ca.sh
PACKAGE="pki-tools"
@@ -80,6 +86,7 @@ rlJournalStart
TEST_ALL_UPPERCASE=$(echo $TEST_ALL | tr [a-z] [A-Z])
QUICKINSTALL_UPPERCASE=$(echo $QUICKINSTALL | tr [a-z] [A-Z])
if [ "$QUICKINSTALL_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL" = "TRUE" ] ; then
+ run_rhcs_set_time
run_rhcs_install_subsystems
run_pki-user-cli-user-ca_tests
fi
@@ -141,30 +148,47 @@ rlJournalStart
CERT_CONFIG_CA_UPPERCASE=$(echo $CERT_CONFIG_CA | tr [a-z] [A-Z])
if [ "$CERT_CONFIG_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
# Execute pki cert tests
- run_pki_cert
+ run_pki-cert-ca_tests
fi
CERT_SHOW_CA_UPPERCASE=$(echo $CERT_SHOW_CA | tr [a-z] [A-Z])
if [ "$CERT_SHOW_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
# Execute pki cert-show tests
- run_pki_cert_show
+ run_pki-cert-show-ca_tests
fi
CERT_REQUEST_SHOW_CA_UPPERCASE=$(echo $CERT_REQUEST_SHOW_CA | tr [a-z] [A-Z])
if [ "$CERT_REQUEST_SHOW_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
- # Execute pki cert-show tests
- run_pki_cert_request_show
+ # Execute pki cert-request-show tests
+ run_pki-cert-request-show-ca_tests
fi
CERT_REVOKE_CA_UPPERCASE=$(echo $CERT_REVOKE_CA | tr [a-z] [A-Z])
if [ "$CERT_REVOKE_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
# Execute pki cert-revoke tests
- run_pki_cert_revoke
+ run_pki-cert-revoke-ca_tests
+ fi
+ CERT_RELEASE_HOLD_CA_UPPERCASE=$(echo $CERT_RELEASE_HOLD_CA | tr [a-z] [A-Z])
+ if [ "$CERT_RELEASE_HOLD_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
+ # Execute pki cert-release-hold tests
+ run_pki-cert-release-hold-ca_tests
+ fi
+ CERT_HOLD_CA_UPPERCASE=$(echo $CERT_HOLD_CA | tr [a-z] [A-Z])
+ if [ "$CERT_HOLD_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
+ # Execute pki cert-hold tests
+ run_pki-cert-hold-ca_tests
+ fi
+ CERT_REQUEST_SUBMIT_CA_UPPERCASE=$(echo $CERT_REQUEST_SUBMIT_CA | tr [a-z] [A-Z])
+ if [ "$CERT_REQUEST_SUBMIT_CA_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ] ; then
+ # Execute pki cert-hold tests
+ run_pki-cert-request-submit_tests
fi
CERT_TEST_UPPERCASE=$(echo $CERT_TEST | tr [a-z] [A-Z])
if [ "$CERT_TEST_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ]; then
#Execute pki cert tests
- run_pki_cert
- run_pki_cert_revoke
- run_pki_cert_show
- run_pki_cert_request_show
+ run_pki-cert-ca_tests
+ run_pki-cert-revoke-ca_tests
+ run_pki-cert-show-ca_tests
+ run_pki-cert-request-show-ca_tests
+ run_pki-cert-release-hold-ca_tests
+ run_pki-cert-hold-ca_tests
fi
BIG_INT_UPPERCASE=$(echo $BIG_INT | tr [a-z] [A-Z])
if [ "$BIG_INT_UPPERCASE" = "TRUE" ] || [ "$TEST_ALL_UPPERCASE" = "TRUE" ]; then