Author: bodewig Date: Thu Sep 4 05:15:55 2008 New Revision: 691991 URL: http://svn.apache.org/viewvc?rev=691991&view=rev Log: fix include pattern to show the behavior
Modified: ant/core/trunk/src/tests/antunit/core/dirscanner-symlinks-test.xml Modified: ant/core/trunk/src/tests/antunit/core/dirscanner-symlinks-test.xml URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/core/dirscanner-symlinks-test.xml?rev=691991&r1=691990&r2=691991&view=diff ============================================================================== --- ant/core/trunk/src/tests/antunit/core/dirscanner-symlinks-test.xml (original) +++ ant/core/trunk/src/tests/antunit/core/dirscanner-symlinks-test.xml Thu Sep 4 05:15:55 2008 @@ -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"