commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r412457 - /jakarta/commons/proper/cli/trunk/src/test/org/apache/commons/cli2/validation/FileValidatorTest.java
Date Wed, 07 Jun 2006 17:26:40 GMT
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


Mime
View raw message