From: James Nunez Date: Fri, 5 Jun 2020 15:15:01 +0000 (-0600) Subject: LU-13149 tests: change sanityn 103 facet value X-Git-Tag: 2.12.6-RC1~62 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8a68af6d8be5b5f72b519233a8703c61773a934a;p=fs%2Flustre-release.git LU-13149 tests: change sanityn 103 facet value The facet name input to lustre_version_code() in sanityn test 103 should be 'ost1' not a variable '$ost1'. Let's replace this call with the $OST1_VERSION variable. Fixes: 2548cb9e32bfca ("LU-11670 osc: glimpse - search for active lock") Test-Parameters: trivial Test-Parameters: serverversion=2.10.8 serverdistro=el7.6 env=ONLY=103 testlist=sanityn Signed-off-by: James Nunez Change-Id: Ib7426f78210c9b32ba53c46ba5f08faeb3ea8ec5 Reviewed-on: https://review.whamcloud.com/38847 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wei Liu --- diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index b37a046..6a5a466 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -4595,7 +4595,7 @@ run_test 102 "Test open by handle of unlinked file" # Compare file size between first & second mount, ensuring the client correctly # glimpses even with unused speculative locks - LU-11670 test_103() { - [ $(lustre_version_code $ost1) -lt $(version_code 2.10.50) ] && + [ $OST1_VERSION -lt $(version_code 2.10.50) ] && skip "Lockahead needs OST version at least 2.10.50" local locktest=23