feat(ttl): Fold bmc_poll.log into the USB archive
Script C copies log/bmc_poll.log into /host/hw-eval/current/jobs/ before that directory is archived to USB, so the BMC sampling and I2C read-back results leave the DUT with the run they belong to rather than only existing in the Tera Term capture. The wait moves ahead of the getdate/sprintf2 block; those build strings without touching the terminal, so the prompt is still consumed exactly once before the copy is sent. Script A history updated under the existing V1.0.8 block -- that version is not tagged yet, so this is the same batch. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
; V1.0.8 2026-08-25 Blanton_Script/bmc_monitor.sh Add BMC I2C write/read-back pattern test
|
||||
; ScriptB Re-enable bmc_monitor.sh start
|
||||
; ScriptC Re-enable bmc_monitor.sh stop + cat bmc_poll.log
|
||||
; ScriptC Copy bmc_poll.log into jobs/ before the USB archive
|
||||
; =============================================================================
|
||||
include "config.ttl"
|
||||
|
||||
|
||||
@@ -109,11 +109,14 @@ wait prompt_sonic_root
|
||||
sendln "show uptime"
|
||||
|
||||
; ========== Copy Stress Log to USB ==========
|
||||
wait prompt_sonic_root
|
||||
sendln "cp ./Blanton_Script/log/bmc_poll.log /host/hw-eval/current/jobs/"
|
||||
|
||||
wait prompt_sonic_root
|
||||
getdate ts_date "%Y%m%d"
|
||||
gettime ts_time "%H%M"
|
||||
sprintf2 usb_dst "/mnt/usb/jobs-%s_%s" ts_date ts_time
|
||||
sprintf2 cmd "cp -r /host/hw-eval/current/jobs/ %s" usb_dst
|
||||
wait prompt_sonic_root
|
||||
sendln cmd
|
||||
|
||||
; ========== HW Test Session ==========
|
||||
|
||||
Reference in New Issue
Block a user