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 <fdilger@whamcloud.com>
Change-Id: I23f727dfde353ee29a78b8cb20a28c3f3181517a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59893
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
# 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