]> www.infradead.org Git - mtd-utils.git/commit
fs-tests: integck: fail loudly on unexpected EROFS
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 26 Apr 2011 06:59:56 +0000 (09:59 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 29 Apr 2011 18:19:58 +0000 (21:19 +0300)
commit8d723c74983953a5b2fe64164893e3aee84c9d78
tree588dd86ea3bd0c6427ae9139107803573d999d2a
parent45937cbc1578546b6930d0e6acc357f3dadd05e5
fs-tests: integck: fail loudly on unexpected EROFS

If we are not in power cut testing mode (-p was not used) and we get an
unexpected EROFS, we silently exit. This patch fixes this behavior and make
the test loudly fail instead.

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