mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:38:21 +00:00
Tune compat.sh and ssl-opt.sh error reporting
This commit is contained in:
parent
244c06ee02
commit
e01af4cd37
2 changed files with 6 additions and 4 deletions
|
@ -757,6 +757,8 @@ run_client() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
echo "EXIT: $EXIT" >> cli_out
|
||||||
|
|
||||||
# report and count result
|
# report and count result
|
||||||
case $RESULT in
|
case $RESULT in
|
||||||
"0")
|
"0")
|
||||||
|
@ -768,8 +770,6 @@ run_client() {
|
||||||
;;
|
;;
|
||||||
"2")
|
"2")
|
||||||
echo FAIL
|
echo FAIL
|
||||||
echo " ! $SERVER_CMD"
|
|
||||||
echo " ! $CLIENT_CMD"
|
|
||||||
cp srv_out c-srv-${tests}.log
|
cp srv_out c-srv-${tests}.log
|
||||||
cp cli_out c-cli-${tests}.log
|
cp cli_out c-cli-${tests}.log
|
||||||
echo " ! outputs saved to c-srv-${tests}.log, c-cli-${tests}.log"
|
echo " ! outputs saved to c-srv-${tests}.log, c-cli-${tests}.log"
|
||||||
|
|
|
@ -135,6 +135,8 @@ run_test() {
|
||||||
echo "$CLI_CMD" > cli_out
|
echo "$CLI_CMD" > cli_out
|
||||||
$SHELL -c "$CLI_CMD" >> cli_out 2>&1
|
$SHELL -c "$CLI_CMD" >> cli_out 2>&1
|
||||||
CLI_EXIT=$?
|
CLI_EXIT=$?
|
||||||
|
echo "EXIT: $CLI_EXIT" >> cli_out
|
||||||
|
|
||||||
if is_polar "$SRV_CMD"; then
|
if is_polar "$SRV_CMD"; then
|
||||||
"$P_CLI" request_page=SERVERQUIT tickets=0 auth_mode=none \
|
"$P_CLI" request_page=SERVERQUIT tickets=0 auth_mode=none \
|
||||||
crt_file=data_files/cli2.crt key_file=data_files/cli2.key \
|
crt_file=data_files/cli2.crt key_file=data_files/cli2.key \
|
||||||
|
|
Loading…
Reference in a new issue