]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: make power cut mode work
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:26:11 +0000 (14:26 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 22 Apr 2011 11:29:53 +0000 (14:29 +0300)
commitcafc6540cfd0a801975551f242c07a062c784dde
tree9253297ea213e3ebd9cbdb4b5dda3a33ccd53a7b
parent1c710b5a981445e960dc96bfe730fb5ea0bc4d8c
fs-tests: integck: make power cut mode work

This is a dirty patch - it makes many changes, but I simply had no
time to split it. And because this test is something no one except me
and Adrian cares about, I do not want to spend too much time creating
nice patches. Anyway, this patch make the power cut testing mode work.

Now you can run the test like "./integck /mnt/ubifs -p" and it will
run recover from emulated power cut failures and continue forever,
untill an unexpected issue is met.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
tests/fs-tests/integrity/integck.c