fix(ttl): Dump BMC logs with cat instead of the blocking tail

`bmc_monitor.sh tail` runs `tail -n 50 -f`, which never returns, so
Script C stopped at the first call and never reached CHECK Stress
results, the traffic counters, or the closing messagebox. Stopping the
monitors first made it worse: with the file no longer growing, tail -f
just waits forever.

Read the two logs directly instead, so the whole BMC capture lands in
the master log and the macro carries on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM
This commit is contained in:
2026-08-20 11:14:34 +08:00
co-authored by Claude Opus 5
parent d1b5cfea0b
commit 18ce7a1a73
@@ -31,9 +31,9 @@ sendln "./Blanton_Script/bmc_monitor_ddr.sh stop"
wait prompt_sonic_root
sendln "./Blanton_Script/bmc_monitor.sh stop"
wait prompt_sonic_root
sendln "./Blanton_Script/bmc_monitor.sh tail"
sendln "cat ./Blanton_Script/log/bmc_poll.log"
wait prompt_sonic_root
sendln "./Blanton_Script/bmc_monitor_ddr.sh tail"
sendln "cat ./Blanton_Script/log/bmc_ddr.log"
; ========== CHECK Stress results ==========