From: Oleg Drokin Date: Tue, 27 May 2025 04:30:39 +0000 (-0400) Subject: LU-15358 tests: fix sanity-flr.sh test 0b syntax X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F59446%2F3;p=fs%2Flustre-release.git LU-15358 tests: fix sanity-flr.sh test 0b syntax local=cnt is clearly a typo and shoule be just local Change-Id: I055c65eca5fe356dd5d180b4c8bf238c9f27c179 Fixes: 0c710a46cfb4 ("LU-11022 lfs: remove mirror by pool name") Test-Parameters: trivial Signed-off-by: Oleg Drokin Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59446 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Arshad Hussain --- diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index 86017d7..8ad761f 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -408,7 +408,7 @@ test_0b() { if [ $MDS1_VERSION -ge $(version_code 2.12.55) ]; then # LU-11022 - remove mirror by pool name - local=cnt cnt=$($LFS getstripe $tf | grep archive | wc -l) + local cnt=$($LFS getstripe $tf | grep archive | wc -l) [ "$cnt" != "1" ] && error "unexpected mirror count $cnt" $LFS mirror delete --pool archive $tf || error "delete mirror" cnt=$($LFS getstripe $tf | grep archive | wc -l)