Whamcloud - gitweb
LU-17171 test: improve sanity-quota test_41 91/52591/5
authorLai Siyao <lai.siyao@whamcloud.com>
Sat, 30 Sep 2023 20:10:54 +0000 (16:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Nov 2023 04:05:19 +0000 (04:05 +0000)
commita504f2c869bada922c6211822be432b253921096
tree91db03e26a91312d57a4a774fb23ab419f156126
parent5317f8a523ac32b616713396f60eda4995dea85e
LU-17171 test: improve sanity-quota test_41

On zfs backend, df result of project quota may print be a slightly
larger block used than quota result because the former is calcuated
in filesystem block size which is 4K.

Update sanity-quota test_41 to make it more robust.

Test-Parameters: trivial testlist=sanity-quota fstype=zfs
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ide51d9aaeb8907eb77acc30fa4fc76dcc16e8de0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52591
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity-quota.sh