You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2008/04/10 10:56:08 UTC

svn commit: r646695 - /commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java

Author: sgoeschl
Date: Thu Apr 10 01:56:05 2008
New Revision: 646695

URL: http://svn.apache.org/viewvc?rev=646695&view=rev
Log:
Added support for running the tests on OpenVMS otherwise the tests fail with "Test not supported for this OS"

Modified:
    commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java

Modified: commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java?rev=646695&r1=646694&r2=646695&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java (original)
+++ commons/sandbox/exec/trunk/src/test/java/org/apache/commons/exec/TestUtil.java Thu Apr 10 01:56:05 2008
@@ -34,6 +34,8 @@
             return new File(script + ".bat");
         } else if (OS.isFamilyUnix()) {
             return new File(script + ".sh");
+        } else if (OS.isFamilyOpenVms()) {
+            return new File(script + ".dcl");
         } else {
             throw new AssertionFailedError("Test not supported for this OS");
         }