tests: Skip most of the broken tests on current Ubuntu
This commit is contained in:
parent
c8e40a19db
commit
1ed9c7483d
|
@ -49,6 +49,9 @@ for HASH in "" "SHA1" "SHA224" "SHA256" "SHA384" "SHA512"; do
|
||||||
continue; # This one is broken
|
continue; # This one is broken
|
||||||
fi
|
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 "======================================================="
|
echo "======================================================="
|
||||||
echo "$METHOD: Sign & Verify (KEY $SIGN_KEY)"
|
echo "$METHOD: Sign & Verify (KEY $SIGN_KEY)"
|
||||||
|
|
|
@ -9,6 +9,10 @@ if [[ ! -f $P11LIB ]]; then
|
||||||
echo "WARNINIG: The SoftHSM is not installed. Can not run this test"
|
echo "WARNINIG: The SoftHSM is not installed. Can not run this test"
|
||||||
exit 77;
|
exit 77;
|
||||||
fi
|
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
|
card_setup
|
||||||
|
|
||||||
echo "======================================================="
|
echo "======================================================="
|
||||||
|
|
Loading…
Reference in New Issue