Whamcloud - gitweb
LU-11607 tests: replace lustre_version/fstype - full 75/36375/3
authorJames Nunez <jnunez@whamcloud.com>
Fri, 4 Oct 2019 17:43:05 +0000 (11:43 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 14 Dec 2019 05:59:35 +0000 (05:59 +0000)
commit782b3533edb419374b7357b67ba4f9960d7e96cf
treeb7c28248d53bd9d879de16cf802558990b260c27
parent524deb6f985beb512a4499501fd7275ecb77f815
LU-11607 tests: replace lustre_version/fstype - full

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

Replace calls to lustre_version_code() and facet_fstype()
for all server types with definitions from get_lustre_env()
for the racer, replay-dual, replay-vbr and sanity-lsnapshot
test suites.

While doing this, replace ‘$SINGLEMDS’ with ‘MDS1_VERSION’
in lustre_version_code() and facet_fstype().

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

Test-Parameters: trivial fstype=ldiskfs testlist=replay-vbr,sanity-lsnapshot
Test-Parameters: fstype=zfs testlist=replay-vbr,sanity-lsnapshot
Test-Parameters: fstype=ldiskfs testlist=racer,replay-dual
Test-Parameters: fstype=zfs testlist=racer,replay-dual
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I4581ccf98b9da256a00f24a2da8cd8ff41f115ca
Reviewed-on: https://review.whamcloud.com/36375
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
lustre/tests/racer.sh
lustre/tests/replay-dual.sh
lustre/tests/replay-vbr.sh
lustre/tests/sanity-lsnapshot.sh