]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: support realtime/log device setup changes in config sections
authorDave Chinner <dchinner@redhat.com>
Tue, 2 Feb 2016 04:54:43 +0000 (15:54 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 2 Feb 2016 04:54:43 +0000 (15:54 +1100)
commitf8c65ca45d1e9b5661cfe0618bf2e9e52fd0e9a8
tree729fb101ece8cd6ba8d9c4b67cfb82ede77c8688
parentdfe582dd396f16ddce1909baab7376e00af07792
xfs: support realtime/log device setup changes in config sections

Currently changing the devices used by "USE_EXTERNAL" environmental
variable is not supported by the config section parsing. Add the
functionality so that we can use config sections to test external
device configs successfully.

This required tracking down a bug in _check_xfs_filesystem() which
was causing a log device to be passed to a test device without an
external log device. This was caused by an uninitialised variable in
the function. I also added full output file removals to the first
couple of generic tests that were failing, because that's where the
check failure output ends up in this case.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/config
common/dmflakey
common/rc
tests/generic/002
tests/generic/004