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"); }