X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Ftests%2Fsanityn.sh;h=61e9e731a91f23e8532c5bf6fc1bcdd68944a3f0;hb=8552476c5495a94d22501d002a35830181b5ea7d;hp=fee301a465b2a5e17fa507e164107d1d7f2ec15b;hpb=a485c51379a0218aaf01f7c0baf8e4cc993d8824;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index fee301a..61e9e73 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -3385,7 +3385,7 @@ tbf_rule_check() } test_77i() { - [ $(lustre_version_code ost1) -ge $(version_code 2.8.55) ] || + [ $(lustre_version_code ost1) -ge $(version_code 2.8.55) ] || { skip "Need OST version at least 2.8.55"; return 0; } for i in $(seq 1 $OSTCOUNT) @@ -3440,7 +3440,11 @@ run_test 77i "Change rank of TBF rule" test_77j() { local idis local rateis - if [ $(lustre_version_code ost1) -ge $(version_code 2.8.60) ]; then + local ost_version=$(lustre_version_code ost1) + + [ $ost_version -ge $(version_code 2.9.53) ] || + { skip "Need OST version at least 2.9.53"; return 0; } + if [ $ost_version -ge $(version_code 2.8.60) ]; then idis="opcode=" rateis="rate=" fi