From 2ced1e0898aacd741c95c25d44350dfefa953853 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 4 Jul 2023 18:58:07 -0600 Subject: [PATCH] LU-8582 tests: skip sanity/905 for old OSTs The fail_loc used in sanity test_905 does not exist in older OSTs. Skip this subtest for older OSTs. Fixes: 566edb8c43 ("LU-8582 target: send error reply on wrong opcode") Test-Parameters: trivial testlist=sanity serverversion=2.12.9 Signed-off-by: Andreas Dilger Change-Id: I8fa50ec0f66afd9f24d562e0be57a416c04d8ba8 --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index fc98d5a..08ab6b2 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -30175,8 +30175,8 @@ run_test 904 "virtual project ID xattr" # LU-8582 test_905() { - (( $OST1_VERSION >= $(version_code 2.8.54) )) || - skip "lustre < 2.8.54 does not support ladvise" + (( $OST1_VERSION >= $(version_code 2.15.50.220) )) || + skip "need OST version >= 2.15.50.220 for fail_loc" remote_ost_nodsh && skip "remote OST with nodsh" $LFS setstripe -c -1 -i 0 $DIR/$tfile || error "setstripe failed" -- 1.8.3.1