acl/lib_acl_cpp/samples/ssl/client/t.sh
2020-01-12 19:41:29 +08:00

10 lines
333 B
Bash
Executable File

#!/bin/sh
os=$(echo `uname -s`)
if [ $os == "Darwin" ]; then
./client -s "0.0.0.0|2443" -L "../libmbedcrypto.dylib;../libmbedx509.dylib;../libmbedtls.dylib" -c 10 -n 100
elif [ $os == "Linux" ]; then
./client -s "0.0.0.0|2443" -L "../libmbedcrypto.so;../libmbedx509.so;../libmbedtls.so" -c 10 -n 100
else
echo "unknown os=$os"
fi