juergen     2002/06/21 05:27:32

  Modified:    testsuite/bin TProcessor.CMD
  Log:
  add the possibility to specify the underlying DB, if needed.
  
  Revision  Changes    Path
  1.8       +13 -0     jakarta-slide/testsuite/bin/TProcessor.CMD
  
  Index: TProcessor.CMD
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/bin/TProcessor.CMD,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TProcessor.CMD    20 Jun 2002 08:30:29 -0000      1.7
  +++ TProcessor.CMD    21 Jun 2002 12:27:32 -0000      1.8
  @@ -11,6 +11,8 @@
   rem       (4) TP_USERS is the number of concurrent users for the multiuser 
testcases.
   rem       (5) TP_ITERATIONS is the number of iterations each concurrent user 
performs an action.
   rem       (6) DAV_USER and DAV_PASSWORD are used for authentification against the 
web server.
  +rem       (7) WORKDB is a helping global variable specifying the underlying DB, if 
needed.
  +set WORKDB=xdavtest
   set DAV_HOST=localhost
   set DAV_USER=guest
   set DAV_PASSWORD=guest
  @@ -34,6 +36,7 @@
   if "%1" == "-home" goto SET_HOME
   if "%1" == "-davhost" goto SET_HOST
   if "%1" == "-davuser" goto SET_USER
  +if "%1" == "-workdb" goto SET_WORKDB
   if "%1" == "-davpassword" goto SET_PASSWORD
   if "%1" == "-davport" goto SET_PORT
   if "%1" == "-davname" goto SET_NAME
  @@ -69,6 +72,14 @@
   goto LOOP
   
   
  +
  +:SET_WORKDB
  +shift
  +set WORKDB=%1
  +shift
  +goto LOOP
  +
  +
   :SET_PASSWORD
   shift
   set DAV_PASSWORD=%1
  @@ -133,6 +144,7 @@
   set OPTS=%OPTS% -Dxdav.globalVariableIterationCountSmall=%TP_ITER_SMALL%
   set OPTS=%OPTS% -Dxdav.globalVariablePerformanceIterations=%TP_ITER_SMALL%
   set OPTS=%OPTS% -Dxdav.urlencoding=UTF-8
  +set OPTS=%OPTS% -Dxdav.urlencoding=%TP_WORKDB%
   
   set CLASSPATH=
   call cpbuild %TP_HOME%\lib
  @@ -171,6 +183,7 @@
   echo   -davhost ^<webdavserver_host^>           (default: localhost)
   echo   -davport ^<webdavserver_port^>           (default: 8080)
   echo   -davname ^<webdavserver_name^>           (default: slide)
  +echo   -workdb ^<underlying_DB^>                (default: xdavtest)
   echo   -store ^<store_to_operate_on^>           (default: files)
   echo   -users ^<number_of_users^>               (default: 10)
   echo   -iterations ^<number_of_iterations^>     (default: 10)
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to