From: Elena Gryaznova Date: Thu, 13 Apr 2023 18:58:27 +0000 (-0700) Subject: LU-15342 tests: escape "|" X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=8a3ae513a3ece5efd2265227406155189344640b;p=fs%2Flustre-release.git LU-15342 tests: escape "|" escape "|" on want="FULL|IDLE" to protect interpretation by shell: sh: IDLE: command not found Lustre-change: https://review.whamcloud.com/45788 Lustre-commit: 25606a2ce19e94c13694d46c3f15e9a10df40a91 Fixes: af666bef05 ("LU-12857 tests: allow clients to be IDLE after recovery") Test-Parameters: trivial Signed-off-by: Elena Gryaznova Change-Id: I2f885ea225ba43537f37b8dad1c2e0cd8f652a79 Reviewed-by: Andreas Dilger Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50631 Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/recovery-mds-scale.sh b/lustre/tests/recovery-mds-scale.sh index cc78f5f..cf1325b 100644 --- a/lustre/tests/recovery-mds-scale.sh +++ b/lustre/tests/recovery-mds-scale.sh @@ -155,7 +155,7 @@ failover_target() { exit 7 fi - want="FULL|IDLE" + local want="FULL\|IDLE" log "Checking clients are in $want state before next failover" wait_clients_import_state $NODES_TO_USE $serverfacet "$want" || echo "Client import not $want, please consider to increase SERVER_FAILOVER_PERIOD=$SERVER_FAILOVER_PERIOD!"