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 <jnunez@whamcloud.com>
Change-Id: Ib7426f78210c9b32ba53c46ba5f08faeb3ea8ec5
Reviewed-on: https://review.whamcloud.com/38847
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
# 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