testcase for arj created on a Unix machine

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/compress/trunk@1529667 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tests/antunit/arjentry-test.xml b/src/tests/antunit/arjentry-test.xml
index 089d752..572ccf6 100644
--- a/src/tests/antunit/arjentry-test.xml
+++ b/src/tests/antunit/arjentry-test.xml
@@ -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>
diff --git a/src/tests/resources/asf-logo.gif.unix.arj b/src/tests/resources/asf-logo.gif.unix.arj
new file mode 100644
index 0000000..b956b1f
--- /dev/null
+++ b/src/tests/resources/asf-logo.gif.unix.arj
Binary files differ