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/10/06 20:49:20 UTC
svn commit: r1529667 - in /ant/antlibs/compress/trunk/src/tests:
antunit/arjentry-test.xml resources/asf-logo.gif.unix.arj
Author: bodewig
Date: Sun Oct 6 18:49:20 2013
New Revision: 1529667
URL: http://svn.apache.org/r1529667
Log:
testcase for arj created on a Unix machine
Added:
ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.unix.arj (with props)
Modified:
ant/antlibs/compress/trunk/src/tests/antunit/arjentry-test.xml
Modified: ant/antlibs/compress/trunk/src/tests/antunit/arjentry-test.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/antunit/arjentry-test.xml?rev=1529667&r1=1529666&r2=1529667&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/src/tests/antunit/arjentry-test.xml (original)
+++ ant/antlibs/compress/trunk/src/tests/antunit/arjentry-test.xml Sun Oct 6 18:49:20 2013
@@ -38,23 +38,38 @@
/>
</target>
- <!-- reading of either seems to be wrong right now, or my archive is
- broken-->
- <target name="NotestResourceProperties">
+ <!-- asf-logo.gif.arj has been created on DOS, asf-logo.gif.unix.arj
+ on Linux -->
+ <target name="testResourceProperties">
<au:assertTrue>
- <cond:islastmodified datetime="2001-11-19-15:34:20 +0100"
- pattern="yyyy-MM-dd-HH:mm:ss Z">
+ <cond:islastmodified datetime="2001-11-19-15:34:20"
+ pattern="yyyy-MM-dd-HH:mm:ss">
<cmp:arjentry name="asf-logo.gif">
<file file="../resources/asf-logo.gif.arj"/>
</cmp:arjentry>
</cond:islastmodified>
</au:assertTrue>
<au:assertTrue>
- <cmp:hasmode mode="644">
+ <cmp:hasmode mode="0">
<cmp:arjentry name="asf-logo.gif">
<file file="../resources/asf-logo.gif.arj"/>
</cmp:arjentry>
</cmp:hasmode>
</au:assertTrue>
+ <au:assertTrue>
+ <cond:islastmodified datetime="2001-11-19-15:34:20"
+ pattern="yyyy-MM-dd-HH:mm:ss">
+ <cmp:arjentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.unix.arj"/>
+ </cmp:arjentry>
+ </cond:islastmodified>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasmode mode="644">
+ <cmp:arjentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.unix.arj"/>
+ </cmp:arjentry>
+ </cmp:hasmode>
+ </au:assertTrue>
</target>
</project>
Added: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.unix.arj
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.unix.arj?rev=1529667&view=auto
==============================================================================
Binary file - no diff available.
Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.unix.arj
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream