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>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 691c0e7..7628304 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -9013,7 +9013,7 @@
-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