You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/04/09 18:30:02 UTC

ant git commit: looks as if the files are executable by default on Windows?

Repository: ant
Updated Branches:
  refs/heads/master c5e90bead -> dc34b252d


looks as if the files are executable by default on Windows?


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/dc34b252
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/dc34b252
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/dc34b252

Branch: refs/heads/master
Commit: dc34b252d59687323489132d4e07e376c911e149
Parents: c5e90be
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sat Apr 9 18:29:33 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sat Apr 9 18:29:33 2016 +0200

----------------------------------------------------------------------
 src/tests/antunit/types/selectors/executable-test.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/dc34b252/src/tests/antunit/types/selectors/executable-test.xml
----------------------------------------------------------------------
diff --git a/src/tests/antunit/types/selectors/executable-test.xml b/src/tests/antunit/types/selectors/executable-test.xml
index ed1e1ce..c78b5b1 100644
--- a/src/tests/antunit/types/selectors/executable-test.xml
+++ b/src/tests/antunit/types/selectors/executable-test.xml
@@ -56,7 +56,7 @@
     <!-- no idea how to do this -->
   </target>
 
-  <target name="testNotexecutable" depends="createTestdir">
+  <target name="testNotexecutable" depends="createTestdir" if="unix">
     <au:assertTrue>
       <resourcecount when="equal" count="0">
         <fileset dir="${output}">
@@ -66,7 +66,7 @@
     </au:assertTrue>
   </target>
 
-  <target name="testAsFalseConditions" depends="createTestdir">
+  <target name="testAsFalseConditions" depends="createTestdir" if="unix">
     <au:assertFalse>
       <isfileselected file="${output}/${file}">
         <executable/>