mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-12 09:35:34 +00:00
Remove redundant check in all.sh
test -s can't fail if the subsequent grep succeeds.
This commit is contained in:
parent
3a33c01a98
commit
2bb56095ec
|
@ -1071,7 +1071,6 @@ for optimization_flag in -O2 -O3 -Ofast -Os; do
|
||||||
cleanup
|
cleanup
|
||||||
make programs CC="$compiler" DEBUG=1 CFLAGS="$optimization_flag"
|
make programs CC="$compiler" DEBUG=1 CFLAGS="$optimization_flag"
|
||||||
if_build_succeeded gdb -x tests/scripts/test_zeroize.gdb -nw -batch -nx 2>&1 | tee test_zeroize.log
|
if_build_succeeded gdb -x tests/scripts/test_zeroize.gdb -nw -batch -nx 2>&1 | tee test_zeroize.log
|
||||||
if_build_succeeded [ -s test_zeroize.log ]
|
|
||||||
if_build_succeeded grep "The buffer was correctly zeroized" test_zeroize.log
|
if_build_succeeded grep "The buffer was correctly zeroized" test_zeroize.log
|
||||||
if_build_succeeded not grep -i "error" test_zeroize.log
|
if_build_succeeded not grep -i "error" test_zeroize.log
|
||||||
rm -f test_zeroize.log
|
rm -f test_zeroize.log
|
||||||
|
|
Loading…
Reference in a new issue