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)
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>

No differences found