summaryrefslogtreecommitdiff
path: root/debian/patches/test-suite.patch
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2017-10-04 11:06:10 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2017-10-04 11:06:10 +0100
commitbb459e4a2f162a86f4c0dc9bdfb7841f03335a9d (patch)
treecdc52a332e2d4ca2fabe6b81f1f848441c254fe4 /debian/patches/test-suite.patch
parentdd5b9f9525f2c4762577d855b76bbe652500771b (diff)
New upstream release LP: #1718379debian/3.2.0-1archive/debian/3.2.0-1
* New upstream release LP: #1718379 * Add breaks on libopencryptoki0 and openssl-ibmca, whilst ABI is the same, the symbols are now versioned and tagged by upstream.
Diffstat (limited to 'debian/patches/test-suite.patch')
-rw-r--r--debian/patches/test-suite.patch20
1 files changed, 16 insertions, 4 deletions
diff --git a/debian/patches/test-suite.patch b/debian/patches/test-suite.patch
index a2c9d53..83d5171 100644
--- a/debian/patches/test-suite.patch
+++ b/debian/patches/test-suite.patch
@@ -7,7 +7,14 @@
#
# Libica test suite
-@@ -13,7 +15,6 @@
+@@ -6,14 +8,11 @@
+
+ verbosity=$1
+
+-out="./suite.out"
+-
+ testcases=(
+ "libica_fips_test"
"libica_get_functionlist $verbosity"
"libica_get_version $verbosity"
@@ -15,7 +22,7 @@
"libica_drbg_test $verbosity"
-@@ -44,10 +45,10 @@
+@@ -45,10 +44,10 @@
"libica_ccm_test $verbosity"
"libica_cmac_test $verbosity"
@@ -30,12 +37,17 @@
"libica_rsa_key_check_test $verbosity"
"libica_rsa_test $verbosity"
-@@ -57,7 +58,7 @@
- echo -ne "" &> $out;
+@@ -63,12 +62,9 @@
+ "libica_sha_test/libica_sha_test $verbosity -sha3 libica_sha_test/sha3_test_vectors/*"
+ )
+
+-echo -ne "" &> $out;
for (( i=1; i <= ${#testcases[@]}; i++ ))
do
- echo -ne "Running libica test suite (writing to "$out") ... "$i"/"${#testcases[@]}"\r";
+- echo "Running '${testcases[i-1]}' ..." >> $out;
- ./${testcases[i-1]} >> $out 2>&1;
+- echo -ne "... done\n\n" >> $out;
+ ./${testcases[i-1]} 2>&1;
done
+./icastats_test 2>&1 || :