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 committed by Thomas Daubney
parent 1d55995d32
commit 7c220d7d37

View file

@ -522,6 +522,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
}