You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2010/10/25 11:18:40 UTC
svn commit: r1026991 -
/ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
Author: bodewig
Date: Mon Oct 25 09:18:40 2010
New Revision: 1026991
URL: http://svn.apache.org/viewvc?rev=1026991&view=rev
Log:
passing testcase for PR 50115
Modified:
ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
Modified: ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml?rev=1026991&r1=1026990&r2=1026991&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml Mon Oct 25 09:18:40 2010
@@ -122,4 +122,15 @@
<au:assertDestIsOutofdate src="${output}/jar.jar"
dest="${output}/reference.jar"/>
</target>
+
+ <target name="testFilesetInsideResources"
+ description="https://issues.apache.org/bugzilla/show_bug.cgi?id=50115">
+ <mkdir dir="${output}"/>
+ <zip destfile="${output}/test.zip" whenempty="skip">
+ <resources>
+ <fileset dir="${output}" includes="d**"/>
+ </resources>
+ </zip>
+ <au:assertFileDoesntExist file="${output}/test.zip"/>
+ </target>
</project>