Author: bodewig Date: Fri Jul 31 20:08:24 2009 New Revision: 799732 URL: http://svn.apache.org/viewvc?rev=799732&view=rev Log: merge another test from Ant core
Modified: ant/sandbox/antlibs/compress/trunk/src/tests/antunit/unzip-test.xml Modified: ant/sandbox/antlibs/compress/trunk/src/tests/antunit/unzip-test.xml URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/tests/antunit/unzip-test.xml?rev=799732&r1=799731&r2=799732&view=diff ============================================================================== --- ant/sandbox/antlibs/compress/trunk/src/tests/antunit/unzip-test.xml (original) +++ ant/sandbox/antlibs/compress/trunk/src/tests/antunit/unzip-test.xml Fri Jul 31 20:08:24 2009 @@ -62,4 +62,14 @@ expected="../resources/asf-logo.gif" /> </target> + + <target name="testStrippingOfPathsep" depends="setUp"> + <touch file="${input}/file"/> + <zip destfile="${output}/a.zip"> + <zipfileset dir="${input}" prefix="/foo"/> + </zip> + <cmp:unzip src="${output}/a.zip" stripAbsolutePathSpec="true" + dest="${output}"/> + <au:assertFileExists file="${output}/foo/file"/> + </target> </project>