You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/01/11 15:19:34 UTC

svn commit: r1557406 - /commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec49Test.java

Author: sebb
Date: Sat Jan 11 14:19:34 2014
New Revision: 1557406

URL: http://svn.apache.org/r1557406
Log:
Sods law - the debug makes it work.
Reduce the amount of debug - could calling available() be why it now worked?

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

Modified: commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec49Test.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec49Test.java?rev=1557406&r1=1557405&r2=1557406&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec49Test.java (original)
+++ commons/proper/exec/trunk/src/test/java/org/apache/commons/exec/issues/Exec49Test.java Sat Jan 11 14:19:34 2014
@@ -68,8 +68,8 @@ public class Exec49Test {
             int x;
             final PipedInputStream pis = new PipedInputStream(pipedOutputStream);
             while ((x = pis.read()) >= 0) {
-                 System.out.println("pis.available() " + pis.available());
-                 System.out.println("x " + x);
+//                 System.out.println("pis.available() " + pis.available());
+//                 System.out.println("x " + x);
             }
             pis.close();
 
@@ -108,8 +108,8 @@ public class Exec49Test {
             int x;
             final PipedInputStream pis = new PipedInputStream(pipedOutputStream);
             while ((x = pis.read()) >= 0) {
-                 System.out.println("pis.available() " + pis.available());
-                 System.out.println("x " + x);
+//                 System.out.println("pis.available() " + pis.available());
+//                 System.out.println("x " + x);
             }
             pis.close();