mirror of https://github.com/wolfSSL/wolfssl.git
scripts/: nix `timeout` wrappers in ocsp-stapling.test and ocsp-stapling2.test, for portability.
parent
7e1a066963
commit
eeefe043ec
|
@ -226,7 +226,7 @@ port3=$(get_first_free_port $((port2 + 1)))
|
||||||
# test interop fail case
|
# test interop fail case
|
||||||
ready_file=$PWD/wolf_ocsp_readyF$$
|
ready_file=$PWD/wolf_ocsp_readyF$$
|
||||||
printf '%s\n' "ready file: $ready_file"
|
printf '%s\n' "ready file: $ready_file"
|
||||||
timeout 60 ./examples/server/server -b -p $port1 -o -R $ready_file &
|
./examples/server/server -b -p $port1 -o -R $ready_file &
|
||||||
wolf_pid=$!
|
wolf_pid=$!
|
||||||
wait_for_readyFile $ready_file $wolf_pid $port1
|
wait_for_readyFile $ready_file $wolf_pid $port1
|
||||||
if [ ! -f $ready_file ]; then
|
if [ ! -f $ready_file ]; then
|
||||||
|
|
|
@ -425,7 +425,7 @@ fi
|
||||||
printf '%s\n\n' "Test successful"
|
printf '%s\n\n' "Test successful"
|
||||||
printf '%s\n\n' "------------- TEST CASE 8 SHOULD REVOKE ----------------------"
|
printf '%s\n\n' "------------- TEST CASE 8 SHOULD REVOKE ----------------------"
|
||||||
remove_single_rF $ready_file5
|
remove_single_rF $ready_file5
|
||||||
timeout 60 ./examples/server/server -c certs/ocsp/server4-cert.pem \
|
./examples/server/server -c certs/ocsp/server4-cert.pem \
|
||||||
-k certs/ocsp/server4-key.pem -R $ready_file5 \
|
-k certs/ocsp/server4-key.pem -R $ready_file5 \
|
||||||
-p $port5 -H loadSSL &
|
-p $port5 -H loadSSL &
|
||||||
server_pid5=$!
|
server_pid5=$!
|
||||||
|
|
Loading…
Reference in New Issue