From: Li Dongyang Date: Wed, 10 May 2023 00:18:20 +0000 (+1000) Subject: EX-6841 tests: do not truncate over s_maxbytes X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d54040ff1082869d481b9f82686cd5e773cca11d;p=fs%2Flustre-release.git EX-6841 tests: do not truncate over s_maxbytes sanity-lipe-scan3/104 truncates file to MAX_LFS_FILESIZE but it should not go over s_maxbytes. Fixes: c05dbbbbca ("EX-4015 lipe: add lipe_scan3") Test-Parameters: trivial testlist=sanity-lipe-scan3 env=ONLY=104 Change-Id: I4a14befb0dfc34b2611052850b77a0841ff853aa Signed-off-by: Li Dongyang Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50899 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alexandre Ioffe Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity-lipe-scan3.sh b/lustre/tests/sanity-lipe-scan3.sh index b3e3e4b..b88ec1d 100644 --- a/lustre/tests/sanity-lipe-scan3.sh +++ b/lustre/tests/sanity-lipe-scan3.sh @@ -529,7 +529,7 @@ declare -a SIZES=( 8589934591 # 0x1ffffffff 48151623420 481516234200 - 9223372036854775807 + 35184372080640000 # 2000 stripes * (16 TiB - 4096 objects) ) test_104() { @@ -546,7 +546,7 @@ test_104() { expect_attr "$facet" size 0 - # For a file without striping, the MDT inode has the szie. + # For a file without striping, the MDT inode has the size. for size in "${SIZES[@]}"; do $TRUNCATE $file "$size" expect_attr "$facet" size "$size"