commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r1031701 - /commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java
Date Fri, 05 Nov 2010 18:31:03 GMT
Author: sgoeschl
Date: Fri Nov  5 18:31:02 2010
New Revision: 1031701

URL: http://svn.apache.org/viewvc?rev=1031701&view=rev
Log:
Disable lenient mode and enable debugging for the test

Modified:
    commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java?rev=1031701&r1=1031700&r2=1031701&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java (original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/StandAloneTest.java Fri
Nov  5 18:31:02 2010
@@ -28,6 +28,11 @@ import java.io.File;
  */
 public class StandAloneTest extends TestCase {
 
+    static{
+        System.setProperty("org.apache.commons.exec.lenient", "false");
+        System.setProperty("org.apache.commons.exec.debug", "true");
+    }
+
     public void testMe() throws Exception {
         if(OS.isFamilyUnix()) {
             File testScript = TestUtil.resolveScriptForOS("./src/test/scripts/standalone");



Mime
View raw message