[CalendarServer-changes] [11665] CalendarServer/trunk/testserver

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 10 09:49:44 PDT 2013


Revision: 11665
          http://trac.calendarserver.org//changeset/11665
Author:   cdaboo at apple.com
Date:     2013-09-10 09:49:44 -0700 (Tue, 10 Sep 2013)
Log Message:
-----------
Add option to test using ssl.

Modified Paths:
--------------
    CalendarServer/trunk/testserver

Modified: CalendarServer/trunk/testserver
===================================================================
--- CalendarServer/trunk/testserver	2013-09-10 02:15:35 UTC (rev 11664)
+++ CalendarServer/trunk/testserver	2013-09-10 16:49:44 UTC (rev 11665)
@@ -29,6 +29,7 @@
 subdir="";
 random="--random";
 seed="";
+ssl="";
 
 usage ()
 {
@@ -43,12 +44,13 @@
   echo "        -t  Set the CalDAVTester directory";
   echo "        -x  Random seed to use.";
   echo "        -v  Verbose.";
+  echo "        -z  Use SSL.";
 
   if [ "${1-}" == "-" ]; then return 0; fi;
   exit 64;
 }
 
-while getopts 'hvrot:s:d:x:' option; do
+while getopts 'hvrozt:s:d:x:' option; do
   case "$option" in 
     '?') usage; ;;
     'h') usage -; exit 0; ;;
@@ -59,6 +61,7 @@
     'v') verbose="v"; ;;
     'o') random=""; ;;
     'x') seed="--random-seed ${OPTARG}"; ;;
+    'z') ssl="--ssl"; ;;
   esac;
 done;
 
@@ -74,5 +77,5 @@
 
 source "${wd}/support/shell.sh";
 
-cd "${cdt}" && "${python}" testcaldav.py ${random} ${seed} --print-details-onfail ${printres} -s "${serverinfo}" ${subdir} "$@";
+cd "${cdt}" && "${python}" testcaldav.py ${random} ${seed} ${ssl} --print-details-onfail ${printres} -s "${serverinfo}" ${subdir} "$@";
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130910/5f34895a/attachment.html>


More information about the calendarserver-changes mailing list