Skip to content
Snippets Groups Projects
Commit fa985eae authored by Ray Garcia's avatar Ray Garcia :scream_cat:
Browse files

fix OpenSUSE link creeping into centos8, add more info, reorder for results speed

parent ed417520
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ ssl-test() {
docker run -it --rm -v$SB3:/opt/ShellB3:ro -v$PWD:/work -w /opt/ShellB3/bin ${img} /work/ssl-test.sh
}
for img in centos:7 centos:8 ubuntu:16.04 ubuntu:18.04 ubuntu:20.04 docker.io/opensuse/tumbleweed docker.io/opensuse/leap; do
for img in centos:7 centos:8 docker.io/opensuse/tumbleweed docker.io/opensuse/leap ubuntu:16.04 ubuntu:18.04 ubuntu:20.04; do
echo "+++ $img"
ssl-test $img;
done
......
......@@ -4,11 +4,10 @@
if apt update &>/dev/null; then
apt -y install libssl1.1 ca-certificates &>/dev/null || apt -y install libssl1.0.0 ca-certificates &>/dev/null
echo Ubuntu/Debian
fi
if test -f /usr/lib64/libcrypto.so.1.1; then
echo Ubuntu/Debian requires libssl1.1 and ca-certificates packages
elif test ! -e /usr/lib64/libcrypt.so.1; then
ln -s libcrypto.so.1.1 /usr/lib64/libcrypt.so.1 &>/dev/null
echo OpenSUSE
echo OpenSUSE requires libcrypt.so.1 softlink to /usr/lib64/libcrypto.so.1.1
fi
./python3 -c 'from urllib import request as req; txt = req.urlopen("https://www.ssec.wisc.edu").read(); print(len(txt) > 0)'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment