summaryrefslogtreecommitdiff
path: root/tests/fs-tests/simple/test_2.c
diff options
context:
space:
mode:
authorPaul HENRYS <paul.henrys@embconsulting.eu>2017-11-22 09:11:43 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-11-22 12:44:52 +0100
commit098e91af4a08a81b3cdfd4aac422bb768261aac5 (patch)
tree92bfe7c3280a8c08a7810a84243f677309e59c79 /tests/fs-tests/simple/test_2.c
parent9cfb02c771d88f94e8bfad962b08c1b2c296eed1 (diff)
mtd: tests: Fix check on ebcnt in nandpagetest
If the number of erase blocks to use is not specified, ebcnt originally set to -1 leads the program to exit with: "Cannot run with less than two blocks." If the number of erase blocks to use is not specified and thus ebcnt is equal to -1, the expected behaviour is to perform the test on all the erase blocks of the mtd partition. This fixes the change introduced in 4458ad6481f60d9884925d5bc62a7954880d181b. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/simple/test_2.c')
0 files changed, 0 insertions, 0 deletions