commit | fc0e79e70f41a125e4226c5cd2083d1a500a91a3 | [log] [tgz] |
---|---|---|
author | Tom Cosgrove <tom.cosgrove@arm.com> | Fri Jan 13 12:13:41 2023 +0000 |
committer | Tom Cosgrove <tom.cosgrove@arm.com> | Fri Jan 13 12:13:41 2023 +0000 |
tree | ed80e3716bb4b9d030ec782dbc37e191df21a970 | |
parent | 656a81ecf81f9bce5a19daf3ba56cb455de69cba [diff] [blame] |
Have compat.sh and ssl-opt.sh not return success for > 255 errors Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index c206283..37936fc 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh
@@ -13312,4 +13312,9 @@ PASSES=$(( $TESTS - $FAILS )) echo " ($PASSES / $TESTS tests ($SKIPS skipped))" +if [ $FAILS -gt 255 ]; then + # Clamp at 255 as caller gets exit code & 0xFF + # (so 256 would be 0, or success, etc) + FAILS=255 +fi exit $FAILS