Keep going after a shell "[" a.k.a. "test" fails

This is necessary to actually keep going and finish the
component-specific cleanup in component_test_cmake_out_of_source if
ssl-opt.err is non-empty.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-04-20 13:21:27 +02:00
parent c2e22ee271
commit aca0b32132

View File

@ -527,6 +527,7 @@ pre_setup_keep_going () {
*[!A-Za-z]"test"|*[!A-Za-z]"test"[!A-Za-z]*) true;;
"tests/"*) true;;
"grep "*|"! grep "*) true;;
"test "*|"[ "*) true;;
*) false;;
esac
}