Browse Source

fix include pattern to show the behavior

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@691991 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
09c3f9835e
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/tests/antunit/core/dirscanner-symlinks-test.xml

+ 4
- 3
src/tests/antunit/core/dirscanner-symlinks-test.xml View File

@@ -101,18 +101,19 @@
<au:assertFileExists file="${output}/A/B/file.txt"/>
</target>

<target name="Supposed to fail? testLinkToParentFollowWithIncludeMultiFollow"
<!-- supposed to fail? -->
<target name="testLinkToParentFollowWithIncludeMultiFollow"
depends="checkOs, setUp, -link-to-parent"
if="unix">
<copy todir="${output}">
<fileset dir="${base}" followsymlinks="true">
<include name="A/B/B/B/*"/>
<include name="A/base/A/B/*"/>
</fileset>
</copy>
<exec executable="rm">
<arg file="${base}/A"/>
</exec>
<au:assertFileExists file="${output}/A/B/B/B/file.txt"/>
<au:assertFileExists file="${output}/A/base/A/B/file.txt"/>
</target>

<target name="testLinkToParentNoFollow"


Loading…
Cancel
Save