Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/crl-revoked.test
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ run_test() {
-k ${CERT_DIR}/server-revoked-key.pem &
server_pid=$!

counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down Expand Up @@ -187,6 +188,7 @@ run_hashdir_test() {
-c ${CERT_DIR}/server-revoked-cert.pem \
-k ${CERT_DIR}/server-revoked-key.pem &
server_pid=$!
counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down
1 change: 1 addition & 0 deletions scripts/openssl.test
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ start_wolfssl_server() {
check_server_ready() {
# server should be ready, let's make sure
server_ready=0
counter=0
while [ "$counter" -lt 20 ]; do
echo -e "waiting for $server_name ready..."
echo -e Checking | nc -4 -w 1 -z localhost "$server_port"
Expand Down
1 change: 1 addition & 0 deletions scripts/pkcallbacks.test
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ run_test() {
timeout -s KILL 2m ./examples/server/server -P -R "$ready_file" -p $pk_port &
server_pid=$!

counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down
1 change: 1 addition & 0 deletions scripts/psk.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ready_file=`pwd`/wolfssl_psk_ready$$
echo "ready file \"$ready_file\""

create_port() {
counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down
1 change: 1 addition & 0 deletions scripts/resume.test
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ do_test() {
timeout -s KILL 2m ./examples/server/server -r -R "$ready_file" -p $resume_port &
server_pid=$!

counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down
1 change: 1 addition & 0 deletions scripts/tls13.test
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ client_out_file="$(pwd)/wolfssl_tls13_client_out$$"
echo "ready file \"$ready_file\""

create_port() {
counter=0
while [ ! -s "$ready_file" ]; do
if [ "$counter" -gt 50 ]; then
break
Expand Down
1 change: 1 addition & 0 deletions scripts/trusted_peer.test
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ wrong_cert=`pwd`/certs/server-revoked-cert.pem
echo "ready file \"$ready_file\""

create_port() {
counter=0
while [ ! -s "$ready_file" -a "$counter" -lt 20 ]; do
echo -e "waiting for ready file..."
sleep 0.1
Expand Down
Loading