From: Oleg Drokin Date: Tue, 27 May 2025 04:18:22 +0000 (-0400) Subject: LU-15358 tests: sanity-quota wait_reintegration wrong quotes X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4f1863ab215ba43a307e8ebf6cff8bf4193ededc;p=fs%2Flustre-release.git LU-15358 tests: sanity-quota wait_reintegration wrong quotes Looks like these quotes need to be escaped otherwise they just unquote the variable and grep might get confused. Test-Parameters: trivial Fixes: c2db06180b29 ("LU-2183 quota: quota tests for DNE") Signed-off-by: Oleg Drokin Change-Id: I3b129e3924da4cbe4d6baa6e8c958881a799de26 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59445 Reviewed-by: Andreas Dilger Reviewed-by: Arshad Hussain Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index bd53dd7..ff187f6 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -186,9 +186,9 @@ wait_reintegration() { if $(facet_up $tgt); then # reintegration starts after recovery completion wait_recovery_complete $tgt - wait_update_facet $tgt "$cmd | - grep "$qtype" | awk '{ print \\\$3 }'" \ - "$result" $max || return 1 + wait_update_facet $tgt "$cmd | grep $qtype | + awk '{ print \\\$3 }'" "$result" $max || + return 1 fi done return 0