You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by an...@apache.org on 2011/04/20 00:04:37 UTC

svn commit: r1095224 - /ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml

Author: antoine
Date: Tue Apr 19 22:04:37 2011
New Revision: 1095224

URL: http://svn.apache.org/viewvc?rev=1095224&view=rev
Log:
I had hardcoded the test.can.run property, also I had emptied the cleanup

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=1095224&r1=1095223&r2=1095224&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/exec/exec.xml Tue Apr 19 22:04:37 2011
@@ -16,11 +16,11 @@
   limitations under the License.
 -->
 <project name="exec-test" default="spawn" basedir=".">
+    <property name="output" location="${java.io.tmpdir}/testoutput"/>
     <target name="init">
         <!-- this property can be overriden programatically in the Java test case -->
         <property name="timeToWait" value="10"/>
         <!-- this property can be overriden programatically in the Java test case -->
-        <property name="output" location="${java.io.tmpdir}/testoutput"/>
         <mkdir dir="${output}"/>
         <property name="logFile" value="${output}/spawn.log"/>
         <property environment="env"/>
@@ -28,7 +28,6 @@
         <available file="sh" filepath="${env.PATH}" property="sh.executable"/>
         <!-- CYGWIN -->
         <available file="sh.exe" filepath="${env.PATH}" property="sh.exe.executable"/>
-        <property name="test.can.run" value="1"/>
         <condition property="test.can.run">
             <or>
                 <isset property="sh.executable"/>
@@ -65,5 +64,7 @@
     </target>
 
     <target name="cleanup">
+        <delete file="${logFile}"/>
+        <delete dir="${output}"/>
     </target>
 </project>