pmaports/main/bootrr/00-bootrr.sh
Caleb Connolly d67268bef9
main/bootrr: detect failure (MR 4542)
Properly detect failures in bootrr

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-11-29 20:32:48 +01:00

9 lines
173 B
Bash

#!/bin/sh -e
# Description: bootrr sanity check
bootrr | tee bootrr.log
if [ grep -q 'fail' bootrr.log ]; then
echo "PMOS-CI-TEST: bootrr sanity check failed"
exit 1
fi