Whamcloud - gitweb
LU-11607 tests: replace lustre_version calls in sanity-flr/pfl 60/35760/2
authorJames Nunez <jnunez@whamcloud.com>
Fri, 9 Aug 2019 23:58:32 +0000 (17:58 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Sep 2019 01:52:15 +0000 (01:52 +0000)
commit56b8c3d8d1acf2f6c491ed64126ce72199ace276
tree8f25137fdead89651a037a584e6438c8a72c119e
parentb20704d5f63a07c54cfbea331df90e6ca765e79b
LU-11607 tests: replace lustre_version calls in sanity-flr/pfl

The routine get_lustre_env() is available to all Lustre test
suites and sets an environment variable for the Lustre
version of servers for MDS1.

In sanity-flr and sanity-pfl, replace the calls to
lustre_version_code() for all server types with
definitions in get_lustre_env().

While doing this, replace ‘lustre_version_code $SINGLEMDS’
with ‘MDS1_VERSION’.

Clean up around any modifications by removing calls to
return after skip() or skip_env().

Test-Parameters: trivial testlist=sanity-flr,sanity-pfl
Test-Parameters: fstype=zfs testlist=sanity-flr,sanity-pfl
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Ic80ea80268ba28f52d96680e304838b6e8c3a6fd
Reviewed-on: https://review.whamcloud.com/35760
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-flr.sh
lustre/tests/sanity-pfl.sh