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 2013/05/15 06:21:53 UTC
svn commit: r1482674 -
/ant/core/trunk/src/tests/antunit/taskdefs/zip-test.xml
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>