[CalendarServer-changes] [811] CalendarServer/branches/users/wsanchez/dropbox/testcaldav

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 12 14:49:06 PST 2006


Revision: 811
          http://trac.macosforge.org/projects/calendarserver/changeset/811
Author:   wsanchez at apple.com
Date:     2006-12-12 14:49:06 -0800 (Tue, 12 Dec 2006)

Log Message:
-----------
Cleanup

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/dropbox/testcaldav

Modified: CalendarServer/branches/users/wsanchez/dropbox/testcaldav
===================================================================
--- CalendarServer/branches/users/wsanchez/dropbox/testcaldav	2006-12-12 22:04:43 UTC (rev 810)
+++ CalendarServer/branches/users/wsanchez/dropbox/testcaldav	2006-12-12 22:49:06 UTC (rev 811)
@@ -19,13 +19,14 @@
 ##
 
 wd="$(cd "$(dirname "$0")" && pwd)";
+cdt="${wd}/../CalDAVTester";
 
 ##
 # Command line handling
 ##
 
 verbose="";
-serverinfo="serverinfo.xml";
+serverinfo="${cdt}/scripts/server/serverinfo.xml";
 documentroot="${wd}/twistedcaldav/test/data";
 
 usage ()
@@ -46,8 +47,8 @@
     case "$option" in 
         '?') usage; ;;
         'h') usage -; exit 0; ;;
-        'd') documentroot=${OPTARG}; ;;
-        's')   serverinfo=${OPTARG}; ;;
+        'd') documentroot="${OPTARG}"; ;;
+        's')   serverinfo="${OPTARG}"; ;;
         'v')      verbose="v"; ;;
     esac;
 done;
@@ -62,17 +63,12 @@
 
 export PYTHONPATH=$("${wd}/run" -p);
 
-cdt="${wd}/../CalDAVTester";
-
 if [ -d "${cdt}" ]; then
   svn update "${cdt}";
 else
   svn checkout http://svn.macosforge.org/repository/calendarserver/CalDAVTester/trunk "${cdt}"
 fi;
 
-cd "${documentroot}/calendars/users/user01/"
-tar -zx${verbose}f "${cdt}/Resource/errors/calendar.1000.tgz"
+tar -C "${documentroot}/calendars/users/user01/" -x${verbose}zf "${cdt}/Resource/errors/calendar.1000.tgz"
 
-cd "${cdt}";
-
-python testcaldav.py -s "${serverinfo}" --all;
+cd "${cdt}" && python testcaldav.py -s "${serverinfo}" --all;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061212/a1ebc432/attachment.html


More information about the calendarserver-changes mailing list