[CalendarServer-changes] [5463] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 9 13:51:08 PDT 2010
Revision: 5463
http://trac.macosforge.org/projects/calendarserver/changeset/5463
Author: cdaboo at apple.com
Date: 2010-04-09 13:51:07 -0700 (Fri, 09 Apr 2010)
Log Message:
-----------
No longer needed.
Removed Paths:
-------------
CalendarServer/trunk/testcaldav
CalendarServer/trunk/testcarddav
Deleted: CalendarServer/trunk/testcaldav
===================================================================
--- CalendarServer/trunk/testcaldav 2010-04-09 20:01:08 UTC (rev 5462)
+++ CalendarServer/trunk/testcaldav 2010-04-09 20:51:07 UTC (rev 5463)
@@ -1,72 +0,0 @@
-#!/bin/bash
-
-##
-# Copyright (c) 2005-2007 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-wd="$(cd "$(dirname "$0")" && pwd)";
-cdt="${wd}/../CalDAVTester";
-
-##
-# Command line handling
-##
-
-verbose="";
-serverinfo="${cdt}/scripts/server/serverinfo.xml";
-documentroot="${wd}/data/Documents";
-
-usage ()
-{
- program="$(basename "$0")";
- echo "Usage: ${program} [-v] [-d docroot] [-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.";
-
- if [ "${1-}" == "-" ]; then return 0; fi;
- exit 64;
-}
-
-while getopts 'hvd:s:' option; do
- case "$option" in
- '?') usage; ;;
- 'h') usage -; exit 0; ;;
- 'd') documentroot="${OPTARG}"; ;;
- 's') serverinfo="${OPTARG}"; ;;
- 'v') verbose="v"; ;;
- esac;
-done;
-
-shift $((${OPTIND} - 1));
-
-if [ $# == 0 ]; then
- set - "--all";
-fi;
-
-##
-# Do The Right Thing
-##
-
-export PYTHONPATH=$("${wd}/run" -p);
-
-if [ ! -e "${documentroot}/calendars/__uids__/user01" ]; then
- curl "http://localhost:8008/calendars/__uids__/user01/";
-fi;
-
-python twistedcaldav/test/data/makelargecalendars.py -n 1 -d "${documentroot}";
-
-cd "${cdt}" && python testcaldav.py -s "${serverinfo}" "$@";
Deleted: CalendarServer/trunk/testcarddav
===================================================================
--- CalendarServer/trunk/testcarddav 2010-04-09 20:01:08 UTC (rev 5462)
+++ CalendarServer/trunk/testcarddav 2010-04-09 20:51:07 UTC (rev 5463)
@@ -1,70 +0,0 @@
-#!/bin/bash
-
-##
-# Copyright (c) 2005-2007 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-wd="$(cd "$(dirname "$0")" && pwd)";
-cdt="${wd}/../CalDAVTester";
-
-##
-# Command line handling
-##
-
-verbose="";
-serverinfo="${cdt}/scripts/server/serverinfo-carddav.xml";
-documentroot="${wd}/twistedcaldav/test/data";
-
-usage ()
-{
- program="$(basename "$0")";
- echo "Usage: ${program} [-v] [-d docroot] [-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.";
-
- if [ "${1-}" == "-" ]; then return 0; fi;
- exit 64;
-}
-
-while getopts 'hvd:s:' option; do
- case "$option" in
- '?') usage; ;;
- 'h') usage -; exit 0; ;;
- 'd') documentroot="${OPTARG}"; ;;
- 's') serverinfo="${OPTARG}"; ;;
- 'v') verbose="v"; ;;
- esac;
-done;
-
-shift $((${OPTIND} - 1));
-
-if [ $# == 0 ]; then
- set - "--all";
-fi;
-
-##
-# Do The Right Thing
-##
-
-export PYTHONPATH=$("${wd}/run" -p);
-
-if [ ! -e "${documentroot}/addressbooks/__uids__/user01" ]; then
- curl "http://localhost:8800/addressbooks/__uids__/user01/";
-fi;
-
-cd "${cdt}" && python testcaldav.py -s "${serverinfo}" "$@";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100409/df5077cd/attachment-0001.html>
More information about the calendarserver-changes
mailing list