From f8925cd850823a3fe41724f706d33574b67f26a8 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Tue, 27 May 2025 00:30:39 -0400 Subject: [PATCH] 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 --- lustre/tests/sanity-flr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.8.3.1