Skip to content

Commit c340a94

Browse files
committed
Added dmesg errors to stdout
Added stdout for the dmesg error prints for scan_dmesg_errors function Signed-off-by: Vamsee Narapareddi <vnarapar@qti.qualcomm.com>
1 parent ffec696 commit c340a94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runner/utils/functestlib.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,9 @@ scan_dmesg_errors() {
33043304
cp "$DMESG_ERRORS" "$DMESG_HISTORY"
33053305

33063306
if [ -s "$DMESG_ERRORS" ]; then
3307-
log_info "dmesg scan: found non-benign module errors in $DMESG_ERRORS (history: $DMESG_HISTORY)"
3307+
while IFS= read -r line; do
3308+
log_info "[dmesg] $line"
3309+
done < "$DMESG_ERRORS"
33083310
return 0
33093311
fi
33103312
log_info "No relevant, non-benign errors for modules [$module_regex] in recent dmesg."

0 commit comments

Comments
 (0)