From: Frederick Dilger Date: Fri, 20 Jun 2025 06:19:41 +0000 (-0600) Subject: LU-19026 tests: sanity test_17p updated version check X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F59893%2F3;p=fs%2Flustre-release.git LU-19026 tests: sanity test_17p updated version check sanity test_17p was failing continuously on el9.6 kernels, so the version check was updated to include all RHEL 9.x kernels. Test-Parameters: trivial Fixes: f8672e6a0e ("LU-17660 tests: test symlink file to existing dir") Signed-off-by: Frederick Dilger Change-Id: I23f727dfde353ee29a78b8cb20a28c3f3181517a Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59893 Reviewed-by: Andreas Dilger Reviewed-by: Emoly Liu Reviewed-by: Oleg Drokin Tested-by: Maloo Tested-by: jenkins --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 8357b79..ab2238e 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -919,8 +919,8 @@ test_17p() { # kernel, we need to stat the target dir to cache it first if [[ "$CLIENT_OS_ID_LIKE" =~ "rhel" ]]; then if (( $CLIENT_OS_VERSION_CODE >= $(version_code 9.0) && - $CLIENT_OS_VERSION_CODE <= $(version_code 9.5) )); then - echo "stat $DIR/$tdir to cache it in el9.0-9.5" + $CLIENT_OS_VERSION_CODE <= $(version_code 9.100) )); then + echo "stat $DIR/$tdir to cache it in el9.x" stat $DIR/$tdir fi fi