[CalendarServer-changes] [10895] CalendarServer/branches/users/gaya/sharedgroups/testserver
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 12 10:21:22 PDT 2013
Revision: 10895
http://trac.calendarserver.org//changeset/10895
Author: gaya at apple.com
Date: 2013-03-12 10:21:21 -0700 (Tue, 12 Mar 2013)
Log Message:
-----------
change -d to -t; -d sets script subdirectory
Modified Paths:
--------------
CalendarServer/branches/users/gaya/sharedgroups/testserver
Modified: CalendarServer/branches/users/gaya/sharedgroups/testserver
===================================================================
--- CalendarServer/branches/users/gaya/sharedgroups/testserver 2013-03-12 17:20:42 UTC (rev 10894)
+++ CalendarServer/branches/users/gaya/sharedgroups/testserver 2013-03-12 17:21:21 UTC (rev 10895)
@@ -26,6 +26,7 @@
verbose="";
serverinfo="${cdt}/scripts/server/serverinfo.xml";
printres="";
+subdir="";
usage ()
{
@@ -33,7 +34,8 @@
echo "Usage: ${program} [-v] [-s serverinfo]";
echo "Options:";
echo " -h Print this help and exit";
- echo " -d Set the CalDAVTester directory";
+ echo " -t Set the CalDAVTester directory";
+ echo " -d Set the script subdirectory";
echo " -s Set the serverinfo.xml";
echo " -r Print request and response";
echo " -v Verbose.";
@@ -42,11 +44,12 @@
exit 64;
}
-while getopts 'hvrd:s:' option; do
+while getopts 'hvrt:s:d:' option; do
case "$option" in
'?') usage; ;;
'h') usage -; exit 0; ;;
- 'd') cdt="${OPTARG}"; serverinfo="${OPTARG}/scripts/server/serverinfo.xml"; ;;
+ 't') cdt="${OPTARG}"; serverinfo="${OPTARG}/scripts/server/serverinfo.xml"; ;;
+ 'd') subdir="${OPTARG}"; ;;
's') serverinfo="${OPTARG}"; ;;
'r') printres="--always-print-request --always-print-response"; ;;
'v') verbose="v"; ;;
@@ -65,5 +68,5 @@
source "${wd}/support/shell.sh";
-cd "${cdt}" && "${python}" testcaldav.py --print-details-onfail ${printres} -s "${serverinfo}" "$@";
+cd "${cdt}" && "${python}" testcaldav.py --print-details-onfail ${printres} -s "${serverinfo}" --subdir "${subdir}" "$@";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130312/3479b90b/attachment.html>
More information about the calendarserver-changes
mailing list