Skip to content

Commit

Permalink
tests: Print server output even if the server fails/crashes
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Oct 23, 2024
1 parent 568ca36 commit 5fe7512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ttls
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SERVER_PID=-1
# Make sure we terminate programs if test fails in the middle
# shellcheck disable=SC2317 # Shellcheck for some reason does not follow trap
wait_for_server_at_exit() {
wait "$1"
wait "$1" || :
echo "Server output:"
cat "${TMPPDIR}/s_server_output"
}
Expand Down

0 comments on commit 5fe7512

Please sign in to comment.