Whamcloud - gitweb
LU-12777 test: fix to pass facet to facet_fstype 79/36379/2
authorWang Shilong <wshilong@ddn.com>
Thu, 26 Sep 2019 13:21:13 +0000 (21:21 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Oct 2019 13:25:42 +0000 (13:25 +0000)
commit26fc6fa27755943e9dbcc20260ca4d3006f05143
treea12987e144227714b9295dc4a4f8dfcc5b8fb06b
parentf7a138c9afe9ac8a7273bdb622dd00eacd252bcc
LU-12777 test: fix to pass facet to facet_fstype

Function facet_fstype() expect mgs1 mds1 etc as its
argument, and we used it wrong to pass $mds1 which will
cause following error.

line 1192: lustre-ost1/ost1_FSTYPE: bad substitution

And we fail to detect this is ZFS based OSD, and pool
reimporting will be missed thus failed to mount.

Lustre-change: https://review.whamcloud.com/36298
Lustre-commit: 38c8fdfde3953f239bd3d86a91a3213737231ce5

Test-Parameters: trivial clientdistro=el8 testlist=conf-sanity \
                 fstype=zfs envdefinitions=ONLY=103
Test-Parameters: trivial clientdistro=el8 testlist=conf-sanity \
                 fstype=ldiskfs envdefinitions=ONLY=103
Change-Id: Id8fd5b9f17e666614e83e5c1a2399fde8b91b023
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36379
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh