common/config: unset TEST_FS_MOUNT_OPTS across config sections
authorEryu Guan <eguan@redhat.com>
Wed, 2 Aug 2017 13:49:00 +0000 (21:49 +0800)
committerEryu Guan <eguan@redhat.com>
Mon, 7 Aug 2017 06:44:13 +0000 (14:44 +0800)
commit65e0cd588d7ea0e47948b288998a45e506847e41
tree8a262178c83fba627ae7746f691497c7517cf77f
parent81aa85deac1f932226eef119efc107463961d120
common/config: unset TEST_FS_MOUNT_OPTS across config sections

TEST_FS_MOUNT_OPTS doesn't get reset before parsing next config
section, this will cause unexpected TEST_FS_MOUNT_OPTS in test,
because it can be assigned some fs-specific mount options in
_test_mount_opts, which might not be supported by the filesystem in
next config section. And MOUNT_OPTIONS is reset, I don't see why
TEST_FS_MOUNT_OPTS shouldn't be.

Also update README.config-sections to reflect this change and fix
typos (replace MOUNT_OPTIONS with TEST_FS_MOUNT_OPTS).

Reviewed-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
README.config-sections
common/config