ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r1095784 - /ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml
Date Thu, 21 Apr 2011 17:49:28 GMT
Author: antoine
Date: Thu Apr 21 17:49:28 2011
New Revision: 1095784

URL: http://svn.apache.org/viewvc?rev=1095784&view=rev
Log:
accept sh.exe from env.Path as well as from env.PATH to be able to run the tests

Modified:
    ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml

Modified: ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml?rev=1095784&r1=1095783&r2=1095784&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml Thu Apr 21 17:49:28 2011
@@ -28,6 +28,8 @@
         <available file="sh" filepath="${env.PATH}" property="sh.executable"/>
         <!-- CYGWIN -->
         <available file="sh.exe" filepath="${env.PATH}" property="sh.exe.executable"/>
+        <!-- WINDOWS + CYGWIN -->
+        <available file="sh.exe" filepath="${env.Path}" property="sh.exe.executable"/>
         <condition property="test.can.run">
             <or>
                 <isset property="sh.executable"/>



Mime
View raw message