mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 09:20:52 +08:00
13 lines
516 B
Bash
Executable File
13 lines
516 B
Bash
Executable File
#!/bin/sh
|
|
|
|
os=$(echo `uname -s`)
|
|
if [ $os == 'Darwin' ]; then
|
|
./redis -s 127.0.0.1:6379 -L ../libpolarssl.dylib -c -C ca.crt -S redis.crt -K redis.key -a set -n 1000
|
|
echo ""
|
|
./redis -s 127.0.0.1:6379 -L ../libmbedtls_all.dylib -c -C ca.crt -S redis.crt -K redis.key -a get -n 1000
|
|
else
|
|
./redis -s 127.0.0.1:6379 -L ../libpolarssl.so -c -C ca.crt -S redis.crt -K redis.key -a set -n 1000
|
|
echo ""
|
|
./redis -s 127.0.0.1:6379 -L ../libmbedtls_all.so -c -C ca.crt -S redis.crt -K redis.key -a get -n 1000
|
|
fi
|