From 24e6dd894988b7cdd35de543dd5c9a0f026f3f7b Mon Sep 17 00:00:00 2001 From: Chris Horn Date: Mon, 7 Mar 2022 20:59:05 -0600 Subject: [PATCH 1/1] LU-15632 tests: Typo in check_node_health A typo in test-frameworks.sh::check_node_health() causes test failures if "lctl get_param catastrophe" doesn't return any output. Test-Parameters: trivial Fixes: 67752f6db2 ("LU-14773 tests: skip check_network() on working node") HPE-bug-id: LUS-10800 Signed-off-by: Chris Horn Change-Id: I5dbb46578a62f8fc13f39be6fbebe87c75bc2a7d Reviewed-on: https://review.whamcloud.com/46746 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Elena Gryaznova --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 6438aec..a8a95b0 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -7656,7 +7656,7 @@ check_node_health() { # Only check/report network health if get_param isn't reported, since # *clearly* the network is working if get_param returned something. if (( $(grep -c catastro $health) != $(wc -w <<< ${nodes//,/ }) )); then - for node in ${nodes//,/}; do + for node in ${nodes//,/ }; do check_network $node 5 done fi -- 1.8.3.1