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 <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2022-01-07 15:46:12 +01:00
parent acc74b8413
commit 2baaf60c5d

View file

@ -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