I'm afraid git ate my keystore
authorStefan Bodewig <bodewig@apache.org>
Tue, 20 Mar 2018 11:48:03 +0000 (12:48 +0100)
committerStefan Bodewig <bodewig@apache.org>
Tue, 20 Mar 2018 11:48:03 +0000 (12:48 +0100)
src/etc/testcases/testkeystore.pkcs12 [deleted file]
src/etc/testcases/testkeystore.pkcs12.gz [new file with mode: 0644]
src/tests/antunit/taskdefs/signjar-test.xml

diff --git a/src/etc/testcases/testkeystore.pkcs12 b/src/etc/testcases/testkeystore.pkcs12
deleted file mode 100644 (file)
index c0016c5..0000000
Binary files a/src/etc/testcases/testkeystore.pkcs12 and /dev/null differ
diff --git a/src/etc/testcases/testkeystore.pkcs12.gz b/src/etc/testcases/testkeystore.pkcs12.gz
new file mode 100644 (file)
index 0000000..57a3d45
Binary files /dev/null and b/src/etc/testcases/testkeystore.pkcs12.gz differ
index 30671cf..7cff520 100644 (file)
@@ -25,7 +25,7 @@
   <property name="signtest.jar" location="${sign.dir}/signtest.jar" />
   <property name="subdirsigntest.jar" location="${subdir}/signtest.jar" />
   <property name="testkeystore" location="../../../etc/testcases/testkeystore" />
-  <property name="testkeystore.pkcs12" location="${testkeystore}.pkcs12" />
+  <property name="testkeystore.pkcs12" location="${input}/testkeystore.pkcs12" />
 
   <macrodef name="assertSigned">
     <attribute name="jar" default="${signtest.jar}" />
@@ -54,6 +54,8 @@
   </presetdef>
 
   <target name="setUp">
+    <mkdir dir="${input}"/>
+    <gunzip src="${testkeystore}.pkcs12.gz" dest="${testkeystore.pkcs12}"/>
     <mkdir dir="${sign.dir}" />
     <mkdir dir="${subdir}" />
   </target>