[jboss-cvs] JBossAS SVN: r64642 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/util/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 16 17:54:30 EDT 2007


Author: rachmatowicz at jboss.com
Date: 2007-08-16 17:54:29 -0400 (Thu, 16 Aug 2007)
New Revision: 64642

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java
Log:
Re-instate -s option, according to JBAS-4422

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java	2007-08-16 21:42:11 UTC (rev 64641)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java	2007-08-16 21:54:29 UTC (rev 64642)
@@ -78,8 +78,7 @@
    * bat or sh file using the jboss.dist system property. It will automatically pass
    * in the -s parameter for the host of the server being used for testing.
    *
-   * @param args The arguments passed to twiddle.  These should not include the -s
-   *             argument.
+   * @param args The arguments passed to twiddle.  
    */
   protected String runTwiddle(String... args) throws IOException, InterruptedException
   {
@@ -90,8 +89,8 @@
         command.add("cmd");
         command.add("/C");
         command.add("twiddle");
-        //command.add("-s");
-        //command.add(getServerHost());
+        command.add("-s");
+        command.add(getServerHost());
         command.addAll(Arrays.asList(args));
      }
      else
@@ -99,8 +98,8 @@
         command.add("/bin/sh");
         command.add("-c");
         String twiddleCmd = "./twiddle.sh ";
-        //twiddleCmd += "-s ";
-        //twiddleCmd += getServerHost();
+        twiddleCmd += "-s ";
+        twiddleCmd += getServerHost();
         twiddleCmd += makeTwiddleArgs(args);
         command.add(twiddleCmd);
      }




More information about the jboss-cvs-commits mailing list