From 09030a345cd0a1d057c8dae970a74878648e3697 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Thu, 21 Apr 2022 11:17:43 +0200 Subject: [PATCH] Refine component_check_test_requires_psa_disabled change grep options order for better compatibility Signed-off-by: Neil Armstrong --- tests/scripts/all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index a9a5af699e..ca3736c4ac 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -876,8 +876,8 @@ component_check_doxygen_warnings () { component_check_test_requires_psa_disabled () { msg "Check: tests requiring PSA to be disabled" - not grep -n 'depends.*!MBEDTLS_USE_PSA_CRYPTO' -R tests/suites/ - not grep -n 'requires.*disabled.*USE_PSA' tests/ssl-opt.sh tests/opt-testcases/tls13-compat.sh + not grep -n -R 'depends.*!MBEDTLS_USE_PSA_CRYPTO' tests/suites/ + not grep -n -R 'requires.*disabled.*USE_PSA' tests/ssl-opt.sh tests/opt-testcases/ } ################################################################