Update gating tests

Reverts commit 3f7d05d4 and updates gating tests for new OpenSSL
version.

Resolves: rhbz#2023328

Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
This commit is contained in:
Štěpán Horáček 2021-11-16 16:12:39 +01:00
parent 3f7d05d4ff
commit ced922994f

View File

@ -17,7 +17,7 @@ pushd ibmtpm
tar xf ../ibmtpm$IBMTPM_VERSION.tar.gz
pushd src
# fixup for openssl 3
sed -i -e "s|OPENSSL_VERSION_NUMBER >= 0x10200000L|OPENSSL_VERSION_NUMBER > 0x30000000L|" TpmToOsslMath.h
sed -i -e "s|OPENSSL_VERSION_NUMBER >= 0x10200000L|OPENSSL_VERSION_NUMBER > 0x30000010L|" TpmToOsslMath.h
sed -i -e "s|CCFLAGS = -Wall|CCFLAGS = -Wall -Wno-error=deprecated-declarations|" makefile
make
@ -55,10 +55,6 @@ PATH=`pwd`/ibmtpm/src/:.:$PATH
export TPM2_ABRMD TPM2_SIM TPM2_TOOLS_TEST_FIXTURES PATH
pushd tpm2-tools/test/integration
# skip test failing because of tpm2-tools
echo "exit 077" > tests/X509certutil.sh
for t in `ls tests/*.sh`
do
f=`basename $t`