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

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 6 08:52:02 PDT 2012


Revision: 9783
          http://trac.macosforge.org/projects/calendarserver/changeset/9783
Author:   sagen at apple.com
Date:     2012-09-06 08:52:01 -0700 (Thu, 06 Sep 2012)
Log Message:
-----------
Remove makelargecalendars from testserver, since that only applies to file store

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

Modified: CalendarServer/trunk/testserver
===================================================================
--- CalendarServer/trunk/testserver	2012-09-06 15:21:24 UTC (rev 9782)
+++ CalendarServer/trunk/testserver	2012-09-06 15:52:01 UTC (rev 9783)
@@ -25,15 +25,13 @@
 
 verbose="";
 serverinfo="${cdt}/scripts/server/serverinfo.xml";
-documentroot="${wd}/data/Documents";
 
 usage ()
 {
   program="$(basename "$0")";
-  echo "Usage: ${program} [-v] [-d docroot] [-s serverinfo]";
+  echo "Usage: ${program} [-v] [-s serverinfo]";
   echo "Options:";
   echo "        -h  Print this help and exit";
-  echo "        -d  Set the document root";
   echo "        -s  Set the serverinfo.xml";
   echo "        -v  Verbose.";
 
@@ -41,11 +39,10 @@
   exit 64;
 }
 
-while getopts 'hvd:s:' option; do
+while getopts 'hvs:' option; do
   case "$option" in 
     '?') usage; ;;
     'h') usage -; exit 0; ;;
-    'd') documentroot="${OPTARG}"; ;;
     's')   serverinfo="${OPTARG}"; ;;
     'v')      verbose="v"; ;;
   esac;
@@ -63,11 +60,5 @@
 
 source "${wd}/support/shell.sh";
 
-if [ ! -e "${documentroot}/calendars/__uids__/user09" ]; then
-  curl "http://localhost:8008/calendars/__uids__/user09/";
-fi;
-
-"${python}" twistedcaldav/test/data/makelargecalendars.py -o 9 -d "${documentroot}";
-
 cd "${cdt}" && "${python}" testcaldav.py --print-details-onfail -s "${serverinfo}" "$@";
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120906/66ed39b6/attachment.html>


More information about the calendarserver-changes mailing list