commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r233430 - in /jakarta/commons/sandbox/exec/trunk/src/test: java/org/apache/commons/exec/ExecTest.java scripts/test.bat scripts/test.sh
Date Fri, 19 Aug 2005 04:20:37 GMT
Author: brett
Date: Thu Aug 18 21:20:31 2005
New Revision: 233430

URL: http://svn.apache.org/viewcvs?rev=233430&view=rev
Log:
use a non-collapsable character for testing

Modified:
    jakarta/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/ExecTest.java
    jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.bat
    jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.sh

Modified: jakarta/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/ExecTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/ExecTest.java?rev=233430&r1=233429&r2=233430&view=diff
==============================================================================
--- jakarta/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/ExecTest.java
(original)
+++ jakarta/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/ExecTest.java
Thu Aug 18 21:20:31 2005
@@ -41,7 +41,7 @@
 
         exec.execute(cl, baos, baos);
 
-        assertEquals("FOO", baos.toString().trim());
+        assertEquals("FOO..", baos.toString().trim());
     }
 
     public void testExecuteWithArg() throws Exception {
@@ -52,7 +52,7 @@
         cl.addArgument("BAR");
         exec.execute(cl, baos, baos);
 
-        assertEquals("FOO  BAR", baos.toString().trim());
+        assertEquals("FOO..BAR", baos.toString().trim());
     }
 
     public void testExecuteWithEnv() throws Exception {
@@ -66,7 +66,7 @@
 
         exec.execute(cl, env, baos, baos);
 
-        assertEquals("FOO XYZ", baos.toString().trim());
+        assertEquals("FOO.XYZ.", baos.toString().trim());
     }
 
     protected void tearDown() throws Exception {

Modified: jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.bat
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.bat?rev=233430&r1=233429&r2=233430&view=diff
==============================================================================
--- jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.bat (original)
+++ jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.bat Thu Aug 18 21:20:31 2005
@@ -16,4 +16,4 @@
 REM
 REM
 
-@echo FOO %TEST_ENV_VAR% %1
\ No newline at end of file
+@echo FOO.%TEST_ENV_VAR%.%1

Modified: jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.sh
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.sh?rev=233430&r1=233429&r2=233430&view=diff
==============================================================================
--- jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.sh (original)
+++ jakarta/commons/sandbox/exec/trunk/src/test/scripts/test.sh Thu Aug 18 21:20:31 2005
@@ -17,4 +17,4 @@
 # 
 #
 
-echo FOO $TEST_ENV_VAR $1
\ No newline at end of file
+echo FOO.$TEST_ENV_VAR.$1



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message