Whamcloud - gitweb
LU-11607 tests: replace lustre_version/fstype - large-lun 80/36380/2
authorJames Nunez <jnunez@whamcloud.com>
Fri, 4 Oct 2019 17:54:56 +0000 (11:54 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 27 Oct 2019 04:17:31 +0000 (04:17 +0000)
commitd2fff2c2e49526f1bcbdb1f63ed20aff558b3836
tree58f99c042c2f71fb7ad33291f0f061184de1d402
parent4b25d733342bc6f3a424ecfb0db80f1c175a8986
LU-11607 tests: replace lustre_version/fstype - large-lun

The routine get_lustre_env() is available to all Lustre test
suites and sets environment variables for the Lustre version
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 large-lun, lfsck-performance, sanity-selinux and
scrub-performance test suites.

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

Test-Parameters: trivial fstype=ldiskfs testlist=sanity-selinux,scrub-performance
Test-Parameters: fstype=zfs testlist=ldiskfs testlist=sanity-selinux,scrub-performance
Test-Parameters: fstype=ldiskfs testlist=large-lun,lfsck-performance
Test-Parameters: fstype=zfs testlist=ldiskfs testlist=large-lun,lfsck-performance
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Ie1a04103b8d721ab20992ed0a9afb3a399270937
Reviewed-on: https://review.whamcloud.com/36380
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
lustre/tests/large-lun.sh
lustre/tests/lfsck-performance.sh
lustre/tests/sanity-selinux.sh
lustre/tests/scrub-performance.sh