[CalendarServer-changes] [1066] CalendarServer/trunk/test

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 18 17:12:34 PST 2007


Revision: 1066
          http://trac.macosforge.org/projects/calendarserver/changeset/1066
Author:   wsanchez at apple.com
Date:     2007-01-18 17:12:34 -0800 (Thu, 18 Jan 2007)

Log Message:
-----------
Un-break argument handling.

Modified Paths:
--------------
    CalendarServer/trunk/test

Modified: CalendarServer/trunk/test
===================================================================
--- CalendarServer/trunk/test	2007-01-19 00:25:19 UTC (rev 1065)
+++ CalendarServer/trunk/test	2007-01-19 01:12:34 UTC (rev 1066)
@@ -33,9 +33,8 @@
   exit 64;
 }
 
-
-while getopts 'nh' option; do
-  case "$option" in
+while getopts "nh" option; do
+  case "${option}" in
     '?') usage; ;;
     'h') usage -; exit 0; ;;
     'n') trial_args="--reporter=bwverbose"; ;;
@@ -43,9 +42,6 @@
 done;
 shift $((${OPTIND} - 1));
 
-if [ $# != 0 ]; then usage "Unrecognized arguments:" "$@"; fi;
-
-
      wd="$(cd "$(dirname "$0")" && pwd -L)";
 twisted="$(cd "${wd}/.." && pwd -L)/Twisted";
 

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


More information about the calendarserver-changes mailing list