Whamcloud - gitweb
LU-11607 tests: replace version/fstype calls in recovery-small 23/35723/3
authorJames Nunez <jnunez@whamcloud.com>
Wed, 7 Aug 2019 21:43:16 +0000 (15:43 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:04:11 +0000 (23:04 +0000)
commit82430bdc5a042a0cf74965e0bb975eef8316c0d7
tree0719eaf0394f7e90314e701c6d19119d1c2f6c6c
parent61c9f8797771c951ecd240981d7d97d5adc685e0
LU-11607 tests: replace version/fstype calls in recovery-small

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

In recovery-small, replace the calls to facet_fstype() and
lustre_version_code() for all server types with definitions
in get_lustre_env().

While doing this, replace facet_fstype $SINGLEMDS and
lustre_version_code $SINGLEMDS with facet_fstype mds1
and lustre_version_code mds1, respectively.

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

Test-Parameters: trivial testlist=recovery-small
Test-Parameters: fstype=zfs testlist=recovery-small
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I8a99324d3c8694b13064dd3cd6c589329b892bec
Reviewed-on: https://review.whamcloud.com/35723
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>
lustre/tests/recovery-small.sh