2020-01-05 10:37:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
os=$(echo `uname -s`)
|
|
|
|
if [ $os == 'Darwin' ]; then
|
2020-01-06 15:29:03 +08:00
|
|
|
./https_client -f "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -s www.sina.com.cn:443 -S
|
|
|
|
echo ""
|
|
|
|
./https_client -f "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -s www.baidu.com:443 -S
|
|
|
|
echo ""
|
|
|
|
./https_client -f "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -s echo.websocket.org:443 -S
|
2020-01-05 10:37:09 +08:00
|
|
|
else
|
2020-01-06 15:50:03 +08:00
|
|
|
./https_client -f "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -s www.sina.com.cn:443 -S
|
2020-01-06 15:29:03 +08:00
|
|
|
echo ""
|
2020-01-06 15:50:03 +08:00
|
|
|
./https_client -f "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -s www.baidu.com:443 -S
|
2020-01-06 15:29:03 +08:00
|
|
|
echo ""
|
2020-01-06 15:50:03 +08:00
|
|
|
./https_client -f "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -s echo.websocket.org:443 -S
|
2020-01-05 10:37:09 +08:00
|
|
|
fi
|