summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiranjan Mallapadi <mrniranjan@redhat.com>2014-04-06 22:49:31 +0530
committerNiranjan Mallapadi <mrniranjan@redhat.com>2014-04-07 22:07:13 +0530
commitae95c7bf3f6456fa2eaf0a242a478e02a72bd64c (patch)
tree69a8f052b63aa2614d9e0d3c4bf420fabed68da2
parentb834efbaa8c929c10cf00252b71ebc29e2f10456 (diff)
configure bigInt to CA subsystem
-rwxr-xr-xtests/dogtag/acceptance/cli-tests/pki-cert-cli/pki-bigInt.sh47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/dogtag/acceptance/cli-tests/pki-cert-cli/pki-bigInt.sh b/tests/dogtag/acceptance/cli-tests/pki-cert-cli/pki-bigInt.sh
new file mode 100755
index 000000000..c281b8858
--- /dev/null
+++ b/tests/dogtag/acceptance/cli-tests/pki-cert-cli/pki-bigInt.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# runtest.sh of /CoreOS/rhcs/acceptance/cli-tests/pki-cert-cli
+# Description: PKI CERT CLI tests
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# Enables bigInt support to CA subsystem
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# Author: Niranjan Mallapadi <mrniranjan@redhat.com>
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# Copyright (c) 2013 Red Hat, Inc. All rights reserved.
+#
+# This copyrighted material is made available to anyone wishing
+# to use, modify, copy, or redistribute it subject to the terms
+# and conditions of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with this program; if not, write to the Free
+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+#
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+# Include rhts environment
+. /usr/bin/rhts-environment.sh
+. /usr/share/beakerlib/beakerlib.sh
+. /opt/rhqa_pki/rhcs-shared.sh
+. /opt/rhqa_pki/pki-cert-cli-lib.sh
+. /opt/rhqa_pki/env.sh
+. /opt/rhqa_pki/pki-config-lib.sh
+
+run_pki_big_int()
+{
+
+ rlPhaseStartSetup "Enable BigInt to CA Subsystem"
+ rlRun "enable_big_int 90010010010010017001 100000000000000000000" 0 "Enabling bigInt with Range 90010010010010017001 100000000000000000000"
+ rlPhaseEnd
+}