68f2981503
The torture test should quit once it actually induces an error in the
flash. This step was accidentally removed during refactoring.
Without this fix, the torturetest just continues infinitely, or until
the maximum cycle count is reached. e.g.:
...
[ 7619.218171] mtd_test: error -5 while erasing EB 100
[ 7619.297981] mtd_test: error -5 while erasing EB 100
[ 7619.377953] mtd_test: error -5 while erasing EB 100
[ 7619.457998] mtd_test: error -5 while erasing EB 100
[ 7619.537990] mtd_test: error -5 while erasing EB 100
...
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mtd_nandecctest.c | ||
mtd_test.c | ||
mtd_test.h | ||
nandbiterrs.c | ||
oobtest.c | ||
pagetest.c | ||
readtest.c | ||
speedtest.c | ||
stresstest.c | ||
subpagetest.c | ||
torturetest.c |