tests: Skip most of the broken tests on current Ubuntu

This commit is contained in:
Jakub Jelen 2020-01-08 14:32:41 +01:00
parent c8e40a19db
commit 1ed9c7483d
2 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,9 @@ for HASH in "" "SHA1" "SHA224" "SHA256" "SHA384" "SHA512"; do
continue; # This one is broken
fi
# Ubuntu SoftHSM version does not support RSA-PSS
grep "Ubuntu 18.04" /etc/issue && echo "WARNING: Not supported on Ubuntu 18.04" && continue
echo
echo "======================================================="
echo "$METHOD: Sign & Verify (KEY $SIGN_KEY)"

View File

@ -9,6 +9,10 @@ if [[ ! -f $P11LIB ]]; then
echo "WARNINIG: The SoftHSM is not installed. Can not run this test"
exit 77;
fi
# The Ubuntu has old softhsm version not supporting this feature
grep "Ubuntu 18.04" /etc/issue && echo "WARNING: Not supported on Ubuntu 18.04" && exit 77
card_setup
echo "======================================================="