Browse Source

fix syntax

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

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

@@ -28,20 +28,20 @@
<condition property="unix"><os family="unix"/></condition> <condition property="unix"><os family="unix"/></condition>
</target> </target>


<target name="YtestSymlinkToSiblingFollow"
<target name="testSymlinkToSiblingFollow"
depends="checkOs, setUp, -sibling" depends="checkOs, setUp, -sibling"
if="unix"> if="unix">
<copy todir="${output}" followSymlinks="true">
<fileset dir="${base}"/>
<copy todir="${output}">
<fileset dir="${base}" followsymlinks="true"/>
</copy> </copy>
<au:assertFileExists file="${output}/B/file.txt"/> <au:assertFileExists file="${output}/B/file.txt"/>
</target> </target>


<target name="YtestSymlinkToSiblingNoFollow"
<target name="testSymlinkToSiblingNoFollow"
depends="checkOs, setUp, -sibling" depends="checkOs, setUp, -sibling"
if="unix"> if="unix">
<copy todir="${output}" followSymlinks="false">
<fileset dir="${base}"/>
<copy todir="${output}">
<fileset dir="${base}" followsymlinks="false"/>
</copy> </copy>
<au:assertFileDoesntExist file="${output}/B/file.txt"/> <au:assertFileDoesntExist file="${output}/B/file.txt"/>
</target> </target>


Loading…
Cancel
Save