ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1482674 - /ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
Date Wed, 15 May 2013 04:21:53 GMT
Author: bodewig
Date: Wed May 15 04:21:53 2013
New Revision: 1482674

URL: http://svn.apache.org/r1482674
Log:
Passing AntUnit test for PR 54967

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=1482674&r1=1482673&r2=1482674&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml Wed May 15 04:21:53 2013
@@ -169,4 +169,17 @@
       <unzip src="${output}/test.zip" dest="${output}/expand"/>
       <au:assertFileExists file="${output}/expand/test1.txt"/>
     </target>
+
+    <target name="testUpdateZipWithDuplicateEntries"
+            description="https://issues.apache.org/bugzilla/show_bug.cgi?id=54967">
+      <mkdir dir="${input}/"/>
+      <touch file="${input}/test1.txt"/>
+      <mkdir dir="${output}"/>
+      <zip destfile="${output}/test.zip" basedir="${input}">
+        <fileset dir="${input}"/>                                          
+      </zip>                                                                  
+      <zip destfile="${output}/test.zip" update="true">
+        <fileset dir="${basedir}" includes="build.xml"/>                    
+      </zip>
+    </target>
 </project>



Mime
View raw message