From 2baaf60c5d54405cf6c17b653eba316b32c58387 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 7 Jan 2022 15:46:12 +0100 Subject: [PATCH] Don't error out if no opt-testcases/*.sh is found This can happen in an insufficiently populated out-of-tree build. Signed-off-by: Gilles Peskine --- tests/ssl-opt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 691c0e7d5..762830486 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -9013,7 +9013,7 @@ run_test "TLS 1.3: HelloRetryRequest check - gnutls" \ -c "Last error was: -0x6E00 - SSL - The handshake negotiation failed" \ -s "HELLO RETRY REQUEST was queued" -for i in $(ls opt-testcases/*.sh) +for i in opt-testcases/*.sh do . $i done