Skip the client app test in a forced non-blocking build

The echoserver needs -N under WOLFSSH_TEST_BLOCK, and even with it leaves
a failed write queued while it waits on the peer, so a session stalls.
scp.test and get-put.test skip the build too.
pull/1171/head
John Safranek 2026-08-13 14:58:21 -07:00 committed by philljj
parent f02a107cb4
commit abf8c206a6
1 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,17 @@ client_limit=60
./examples/echoserver/echoserver '-?' 2>&1 | grep -q "^echoserver " \
|| { echo "echoserver doesn't run, skipping"; exit 77; }
# A WOLFSSH_TEST_BLOCK build fails writes at random. The echoserver leaves a
# failed write queued and then waits on the peer for a reply to the message
# it never sent, so a session stalls no matter what the client does. The
# other echoserver scripts skip this build for the same reason.
if [ -x ./examples/client/client ] \
&& ./examples/client/client -h 2>&1 | grep -q "WOLFSSH_TEST_BLOCK"
then
echo "macro WOLFSSH_TEST_BLOCK was used, skipping"
exit 77
fi
do_cleanup() {
echo "in cleanup"