]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: make -v work -e
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 16 May 2011 14:04:49 +0000 (17:04 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 20 May 2011 09:48:42 +0000 (12:48 +0300)
commit3a6619020d775b54bcd799e94ea291f7de104c75
tree8bd1689d3edb39ad49a295997c5c2db6ea316fb9
parent8a14f3c19fafcd07c5d1cbe1f51f68541aea9eb2
fs-tests: integck: make -v work -e

Make the verify option -v work with power cut emulation option -e. We can
verify all operations except of writing to the file, because of write-back.
Indeed, even if we write successfully, the pages may still be in the page-cache
and if an emulated power cut happens they will be dropped, and our verification
will fail.

I am not 100% sure it is save to verify non-write operation in other FSes, but
only UBIFS has power cut emulation mode now, so we do not really care about
other FSes at this point.

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