util/board_status: Do not display grep message
Redirect stdout and stderr from grep to check for unknown timestamps, when no timestamps are stored, which is already logged earlier. Failed to run "/root/coreboot/util/cbmem/cbmem -t", ignoring Getting remote dmesg grep: /tmp/coreboot_board_status.dXmbUIBP/emulation/qemu-i440fx/4.14-876-gdb28040ee1/2021-07-02T23_14_33Z/coreboot_timestamps.txt: No such file or directory Change-Id: Ib5400d4bd17e957b4cc1bf75bbd332d60ad226f5 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56056 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
bb87552c98
commit
adface7ace
|
@ -501,7 +501,7 @@ if [ $(grep -- -dirty "${tmpdir}/${results}/coreboot_console.txt") ]; then
|
|||
exit $EXIT_FAILURE
|
||||
fi
|
||||
|
||||
if [ $(grep -- unknown "${tmpdir}/${results}/coreboot_timestamps.txt") ]; then
|
||||
if [ $(grep -- unknown "${tmpdir}/${results}/coreboot_timestamps.txt" >/dev/null 2>&1) ]; then
|
||||
echo "Unknown timestamps found in 'coreboot_timestamps.txt'." \
|
||||
"Please rebuild the 'cbmem' utility and try again."
|
||||
exit $EXIT_FAILURE
|
||||
|
|
Loading…
Reference in New Issue