diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-22 19:52:27 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-24 19:12:30 +0300 |
commit | 0d209f581d2a9906b94a88325e9ea4b4249215db (patch) | |
tree | ef10ab9be1a507803952ff8229b0b1427feba383 /jffs-dump.c | |
parent | e2ef4cecc198371aae3fdaad5151aa7303dedb3e (diff) |
fs-tests: integck: improve remountability logic
The integck test assumes that if the FS is rootfs then it cannot
re-mount it, otherwise it can. However, this is not true because the
tested FS can be not remountable even if it is not rootfs, e.g., if
'integck' lives on this FS and is executed from it.
This patch improves the integck logic and actually checks wheter it
is possible to re-mount the FS before starting the test.
Also, it makes sure that power cut testing is run only on re-mountable
FS, because we have to be able to clean the "corrupted" state of the
file-system.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'jffs-dump.c')
0 files changed, 0 insertions, 0 deletions