Skip to content

Commit 67b3ed1

Browse files
committed
Add OpenSSL 3.x ABI cross-compatibility test.
1 parent c682c9f commit 67b3ed1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/run_test.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ else
4141
${env} make ${TEST_TARGET} SKIP_LTESTS="${SKIP_LTESTS}" LTESTS="${LTESTS}"
4242
fi
4343

44+
# Replace our self-built with the distro-provided one before running the tests
45+
# again.
46+
case "$1" in
47+
openssl-3.*)
48+
${SUDO} cp /lib/x86_64-linux-gnu/libcrypto.so.3 /opt/openssl/lib64/libcrypto.so.3
49+
if [ -z "${TEST_SSH_SSHD_CONFOPTS}" ]; then
50+
SSHD_CONFOPTS=AcceptEnv=OpenSSL3_ABI_Test
51+
fi
52+
;;
53+
esac
54+
4455
if [ ! -z "${SSHD_CONFOPTS}" ]; then
4556
echo "rerunning t-exec with TEST_SSH_SSHD_CONFOPTS='${SSHD_CONFOPTS}'"
4657
if [ -z "${LTESTS}" ]; then

0 commit comments

Comments
 (0)