check: Allow to recreate TEST_DEV
authorLukas Czerner <lczerner@redhat.com>
Fri, 4 Apr 2014 06:18:15 +0000 (17:18 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 4 Apr 2014 06:18:15 +0000 (17:18 +1100)
commitf8e4f532f18d7517430d9849bfc042305d7f7f4d
treebdf4d8fe234f43d33f05d62cf6bc6eac39c28f38
parent667308dd97bf41382d4ab299fa5b56c235cfeb27
check: Allow to recreate TEST_DEV

Add config option RECREATE_TEST_DEV to allow to recreate file system on
the TEST_DEV device. Permitted values are true and false.

If RECREATE_TEST_DEV is set to true the TEST_DEV device will be
unmounted and FSTYP file system will be created on it. Afterwards it
will be mounted to TEST_DIR again with the default, or specified mount
options.

Also recreate the file system if FSTYP differs from the previous
section.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
README.config-sections
check
common/config
common/rc