mtd: mtd_nandecctest: make module_init() return an error code if test fails
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 26 Aug 2012 12:06:44 +0000 (21:06 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:13:08 +0000 (15:13 +0100)
Return an error code if test fails in order to detect a test case failure
by invoking tests repeatedly like this:

while sudo modprobe mtd_nandecctest; do
sudo modprobe -r mtd_nandecctest
done

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found