summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/guest-diag/phys_claim_cycle.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/guest-diag/phys_claim_cycle.sh b/tools/guest-diag/phys_claim_cycle.sh
index ec6e29f..40577f9 100755
--- a/tools/guest-diag/phys_claim_cycle.sh
+++ b/tools/guest-diag/phys_claim_cycle.sh
@@ -292,7 +292,11 @@ rail_count() {
abort_signature() {
grep -q -E "not ready .*after resume" "$1" 2>/dev/null && return 0
- grep -q -E "board unresponsive|gsp-phys.*WARN|WARNING:.*gsp-phys" "$1" 2>/dev/null && return 0
+ # Exclude the benign TX-preflight status line: its parenthetical text
+ # "(WARNING: status TX header not linked)" otherwise matches "gsp-phys.*WARN"
+ # on every unlinked-header boot (known F3 false positive).
+ grep -v -F "status TX header not linked" "$1" 2>/dev/null | \
+ grep -q -E "board unresponsive|gsp-phys.*WARN|WARNING:.*gsp-phys" 2>/dev/null && return 0
return 1
}