diff options
author | Asha Akkiangady <aakkiang@redhat.com> | 2014-06-26 15:08:05 -0400 |
---|---|---|
committer | Asha Akkiangady <aakkiang@redhat.com> | 2014-06-26 15:11:50 -0400 |
commit | 5c86d1aa946d7bf1eff3e8b30c28ae3dc003f919 (patch) | |
tree | 3e8e07074d2a3de8f6c71861e933171dabaace48 /tests | |
parent | 513eacfabadd68ebc5ae9271d3e572859cbc934f (diff) | |
download | pki-5c86d1aa946d7bf1eff3e8b30c28ae3dc003f919.tar.gz pki-5c86d1aa946d7bf1eff3e8b30c28ae3dc003f919.tar.xz pki-5c86d1aa946d7bf1eff3e8b30c28ae3dc003f919.zip |
Updated pki user del,find and show tests with the dogtag ticket ids.
Diffstat (limited to 'tests')
3 files changed, 9 insertions, 12 deletions
diff --git a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-del-ca.sh b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-del-ca.sh index a0e0eac4d..60b04c235 100755 --- a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-del-ca.sh +++ b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-del-ca.sh @@ -408,7 +408,7 @@ run_pki-user-cli-user-del-ca_tests(){ rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to delete user u23 using an expired admin cert" #Set datetime back on original rlRun "date --set='-2 days'" 0 "Set System back to the present day" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/962" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/962" #Make sure user is not deleted rlRun "pki -d $CERTDB_DIR \ -n CA_adminV \ diff --git a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-find-ca.sh b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-find-ca.sh index d1a5a856d..177f4d005 100755 --- a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-find-ca.sh +++ b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-find-ca.sh @@ -74,13 +74,11 @@ run_pki-user-cli-user-find-ca_tests(){ rlAssertGrep "\--start <start> Page start" "$TmpDir/user_find.out" rlAssertGrep "\--help Show help options" "$TmpDir/user_find.out" rlAssertNotGrep "Error: Unrecognized option: --help" "$TmpDir/user_find.out" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/843" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_find-ca-configtest-002: pki user-find configuration test" rlRun "pki user-find > $TmpDir/user_find_2.out 2>&1" 255 "pki user-find" - rlAssertNotGrep "ResteasyIOException: IOException" "$TmpDir/user_find_2.out" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/821" + rlAssertGrep "Error: Certificate database not initialized." "$TmpDir/user_find_2.out" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_find-ca-003: Find 5 users, --size=5" @@ -424,7 +422,7 @@ run_pki-user-cli-user-find-ca_tests(){ rlAssertGrep "PKIException: Unauthorized" "$TmpDir/pki-user-find-ca-adminE-002.out" rlAssertNotGrep "ProcessingException: Unable to invoke request" "$TmpDir/pki-user-find-ca-adminE-002.out" rlRun "date --set='2 days ago'" 0 "Set System back to the present day" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/962" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/962" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_find-ca-026: Should not be able to find users using CA_agentE cert" @@ -444,7 +442,7 @@ run_pki-user-cli-user-find-ca_tests(){ rlAssertGrep "PKIException: Unauthorized" "$TmpDir/pki-user-find-ca-agentE-002.out" rlAssertNotGrep "ProcessingException: Unable to invoke request" "$TmpDir/pki-user-find-ca-agentE-002.out" rlRun "date --set='2 days ago'" 0 "Set System back to the present day" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/962" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/962" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_find-ca-027: Should not be able to find users using a CA_auditV" diff --git a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-show-ca.sh b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-show-ca.sh index 1eee9fe44..2ef620c39 100755 --- a/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-show-ca.sh +++ b/tests/dogtag/acceptance/cli-tests/pki-user-cli/ca/pki-user-cli-user-show-ca.sh @@ -72,7 +72,6 @@ run_pki-user-cli-user-show-ca_tests(){ rlAssertGrep "usage: user-show <User ID> \[OPTIONS...\]" "$TmpDir/pki_user_show_cfg.out" rlAssertGrep "\--help Show help options" "$TmpDir/pki_user_show_cfg.out" rlAssertNotGrep "Error: Certificate database not initialized." "$TmpDir/pki_user_show_cfg.out" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/843" rlPhaseEnd ##### Tests to show CA users #### @@ -746,7 +745,7 @@ run_pki-user-cli-user-show-ca_tests(){ errmsg="ForbiddenException: Authorization failed" errorcode=255 rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to show user u23 using a agent cert" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/965" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/965" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_show-CA-036: Should not be able to show user using a CA_agentR user" @@ -767,7 +766,7 @@ run_pki-user-cli-user-show-ca_tests(){ errorcode=255 rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to show user u23 using an expired admin cert" rlRun "date --set='2 days ago'" 0 "Set System back to the present day" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/962" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/962" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_show-CA-038: Should not be able to show user using CA_agentE cert" @@ -780,7 +779,7 @@ run_pki-user-cli-user-show-ca_tests(){ errorcode=255 rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to show user u23 using a agent cert" rlRun "date --set='2 days ago'" 0 "Set System back to the present day" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/962" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/962" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_show-CA-039: Should not be able to show user using a CA_auditV" @@ -789,7 +788,7 @@ run_pki-user-cli-user-show-ca_tests(){ errmsg="ForbiddenException: Authorization failed" errorcode=255 rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to show user u23 using a audit cert" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/965" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/965" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_show-CA-040: Should not be able to show user using a CA_operatorV" @@ -798,7 +797,7 @@ run_pki-user-cli-user-show-ca_tests(){ errmsg="ForbiddenException: Authorization failed" errorcode=255 rlRun "verifyErrorMsg \"$command\" \"$errmsg\" \"$errorcode\"" 0 "Verify expected error message - Should not be able to show user u23 using a operator cert" - rlLog "PKI TICKET :: https://engineering.redhat.com/trac/pki-tests/ticket/965" + rlLog "PKI TICKET :: https://fedorahosted.org/pki/ticket/965" rlPhaseEnd rlPhaseStartTest "pki_user_cli_user_show-CA-041: Should not be able to show user using a cert created from a untrusted CA CA_adminUTCA" |