You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2006/06/07 19:26:40 UTC

svn commit: r412457 - /jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java

Author: bayard
Date: Wed Jun  7 10:26:40 2006
New Revision: 412457

URL: http://svn.apache.org/viewvc?rev=412457&view=rev
Log:
Applying patch in CLI-40 that avoids the test from failing sometimes on Windows

Modified:
    jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java

Modified: jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java?rev=412457&r1=412456&r2=412457&view=diff
==============================================================================
--- jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java (original)
+++ jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java Wed Jun  7 10:26:40 2006
@@ -150,6 +150,10 @@
                 Process proc = Runtime.getRuntime().exec(
                         "attrib.exe +" + attr + " src/test/data/.hidden.txt",
                         null, new File("."));
+                proc.waitFor();
+            } catch (InterruptedException e) {
+                System.out.println(e.getMessage());
+                e.printStackTrace();
             } catch (IOException e) {
                 System.out.println(e.getMessage());
                 e.printStackTrace();



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