ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1026991 - /ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
Date Mon, 25 Oct 2010 09:18:40 GMT
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>



Mime
View raw message