Whamcloud - gitweb
LU-15358 tests: fix sanity-flr.sh test 0b syntax 46/59446/3
authorOleg Drokin <green@whamcloud.com>
Tue, 27 May 2025 04:30:39 +0000 (00:30 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Jun 2025 06:38:26 +0000 (06:38 +0000)
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 <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59446
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/tests/sanity-flr.sh

index 86017d7..8ad761f 100644 (file)
@@ -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)