summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2000-05-31 22:35:00 +0000
committerrelyea%netscape.com <devnull@localhost>2000-05-31 22:35:00 +0000
commit2cf282e7ee0d1867c53197a0930c1ea86c74e542 (patch)
tree065f5913a06a234715a8b1f92c285dddd50756bf
parent2d95d193a5e5814837e54d43106b8dafeda8531e (diff)
downloadnss-hg-2cf282e7ee0d1867c53197a0930c1ea86c74e542.tar.gz
Set up code that allows you to run only some of the SSL tests in a single run.
-rwxr-xr-xsecurity/nss/tests/ssl/ssl.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/security/nss/tests/ssl/ssl.sh b/security/nss/tests/ssl/ssl.sh
index 0600769a0..249345720 100755
--- a/security/nss/tests/ssl/ssl.sh
+++ b/security/nss/tests/ssl/ssl.sh
@@ -25,6 +25,7 @@ none=1
coverage=0
auth=0
stress=0
+certs=1
fileout=0
for i in $*
@@ -34,10 +35,20 @@ do
none=0; coverage=1; auth=1; stress=1;;
[aA][uU]*)
none=0; auth=1;;
- [Cc]*)
+ [Nn][Oo][aA][uU]*)
+ auth=0;;
+ [Cc][Oo]*)
none=0; coverage=1;;
+ [Nn][Oo][Cc][Oo]*)
+ coverage=0;;
+ [Cc][Ee]*)
+ none=0; certs=1;;
+ [Nn][Oo][Cc][Ee]*)
+ certs=0;;
[Ss]*)
none=0; stress=1;;
+ [Nn][Oo][Ss]*)
+ stress=0;;
f)
fileout=1;
esac
@@ -55,7 +66,7 @@ fi
#
trap "rm -f ${TEMPFILES}; exit" 2 3
-
+if [ $certs -eq 1 ]; then
# Generate noise for our CA cert.
#
# NOTE: these keys are only suitable for testing, as this whole thing bypasses
@@ -138,6 +149,7 @@ fi
echo "</TABLE><BR>" >> ${RESULTS}
rm -f ${TEMPFILES}
+fi
# OK now lets run the tests....