ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r784128 - /ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml
Date Fri, 12 Jun 2009 14:08:55 GMT
Author: bodewig
Date: Fri Jun 12 14:08:54 2009
New Revision: 784128

URL: http://svn.apache.org/viewvc?rev=784128&view=rev
Log:
test fails in 'svn export'ed directories

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml?rev=784128&r1=784127&r2=784128&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/defaultexcludes-test.xml Fri Jun 12 14:08:54
2009
@@ -20,9 +20,11 @@
 
   <target name="setUp">
     <mkdir dir="${output}"/>
+    <available property="in working copy" file=".svn"/>
   </target>
 
-  <target name="testCopyNoExplictExcludes" depends="setUp">
+  <target name="testCopyNoExplictExcludes" depends="setUp"
+          if="in working copy">
     <copy todir="${output}">
       <fileset dir="."/>
     </copy>
@@ -30,7 +32,8 @@
     <au:assertFileDoesntExist file="${output}/.svn/entries"/>
   </target>
 
-  <target name="testCopyExplictExcludes" depends="setUp">
+  <target name="testCopyExplictExcludes" depends="setUp"
+          if="in working copy">
     <copy todir="${output}">
       <fileset dir="." defaultexcludes="true"/>
     </copy>
@@ -38,7 +41,8 @@
     <au:assertFileDoesntExist file="${output}/.svn/entries"/>
   </target>
 
-  <target name="testCopyExplictNoExcludes" depends="setUp">
+  <target name="testCopyExplictNoExcludes" depends="setUp"
+          if="in working copy">
     <copy todir="${output}">
       <fileset dir="." defaultexcludes="false"/>
     </copy>



Mime
View raw message