Browse Source

test fails in 'svn export'ed directories

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@784128 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
65434f5a37
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/tests/antunit/taskdefs/defaultexcludes-test.xml

+ 7
- 3
src/tests/antunit/taskdefs/defaultexcludes-test.xml View File

@@ -20,9 +20,11 @@


<target name="setUp"> <target name="setUp">
<mkdir dir="${output}"/> <mkdir dir="${output}"/>
<available property="in working copy" file=".svn"/>
</target> </target>


<target name="testCopyNoExplictExcludes" depends="setUp">
<target name="testCopyNoExplictExcludes" depends="setUp"
if="in working copy">
<copy todir="${output}"> <copy todir="${output}">
<fileset dir="."/> <fileset dir="."/>
</copy> </copy>
@@ -30,7 +32,8 @@
<au:assertFileDoesntExist file="${output}/.svn/entries"/> <au:assertFileDoesntExist file="${output}/.svn/entries"/>
</target> </target>


<target name="testCopyExplictExcludes" depends="setUp">
<target name="testCopyExplictExcludes" depends="setUp"
if="in working copy">
<copy todir="${output}"> <copy todir="${output}">
<fileset dir="." defaultexcludes="true"/> <fileset dir="." defaultexcludes="true"/>
</copy> </copy>
@@ -38,7 +41,8 @@
<au:assertFileDoesntExist file="${output}/.svn/entries"/> <au:assertFileDoesntExist file="${output}/.svn/entries"/>
</target> </target>


<target name="testCopyExplictNoExcludes" depends="setUp">
<target name="testCopyExplictNoExcludes" depends="setUp"
if="in working copy">
<copy todir="${output}"> <copy todir="${output}">
<fileset dir="." defaultexcludes="false"/> <fileset dir="." defaultexcludes="false"/>
</copy> </copy>


Loading…
Cancel
Save