Skip to content

Commit 1331952

Browse files
committed
Update verify-install.sh
1 parent 435c998 commit 1331952

File tree

2 files changed

+328
-38
lines changed

2 files changed

+328
-38
lines changed

.github/workflows/debian-package.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,7 @@ jobs:
116116
apt-get remove -y libwolfprov
117117
118118
# Verify default OpenSSL provider is active
119-
echo "Verifying Default Provider is Active:"
120-
openssl list -providers
121-
122-
# Verify that the default provider is present and active
123-
echo "Checking default provider status:"
124-
if openssl list -providers | grep -q "default" && \
125-
openssl list -providers | grep -q "OpenSSL Default Provider" && \
126-
openssl list -providers | grep -q "status: active"; then
127-
echo "Default provider is present and active"
128-
else
129-
echo "Default provider verification failed"
130-
echo "Provider output:"
131-
openssl list -providers
132-
exit 1
133-
fi
119+
$GITHUB_WORKSPACE/scripts/verify-install.sh --no-wp ${{ matrix.replace_default && '--replace-default' || '' }} ${{ matrix.fips && '--fips' || '' }}
134120
135121
# Purge the package to remove all files
136122
apt-get remove --purge -y libwolfprov
@@ -164,17 +150,7 @@ jobs:
164150
fi
165151
166152
# Verify that the default provider is present and active
167-
echo "Checking default provider status:"
168-
if openssl list -providers | grep -q "default" && \
169-
openssl list -providers | grep -q "OpenSSL Default Provider" && \
170-
openssl list -providers | grep -q "status: active"; then
171-
echo "Default provider is present and active"
172-
else
173-
echo "Default provider verification failed"
174-
echo "Provider output:"
175-
openssl list -providers
176-
exit 1
177-
fi
153+
$GITHUB_WORKSPACE/scripts/verify-install.sh --no-wp ${{ matrix.replace_default && '--replace-default' || '' }} ${{ matrix.fips && '--fips' || '' }}
178154
179155
echo "Package uninstallation and cleanup verification successful"
180156

0 commit comments

Comments
 (0)