[jboss-cvs] JBossAS SVN: r64644 - trunk/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 18:48:49 EDT 2007


Author: rachmatowicz at jboss.com
Date: 2007-08-16 18:48:49 -0400 (Thu, 16 Aug 2007)
New Revision: 64644

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

Modified: trunk/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java	2007-08-16 22:47:05 UTC (rev 64643)
+++ trunk/testsuite/src/main/org/jboss/test/util/test/TwiddleUnitTestCase.java	2007-08-16 22:48:49 UTC (rev 64644)
@@ -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