Fixes the selftest for recovering cases. Now all the functions are tested.

This commit is contained in:
Andrea Mazzoleni 2013-12-27 13:57:38 +01:00
parent de0c8db8d7
commit b4939aa33a

View file

@ -182,7 +182,7 @@ static void recovtest(unsigned mode, unsigned nd, unsigned block_size)
}
/* recover */
map[nr-1][0](nr, id, ip, nd, block_size, buffer);
map[nr-1][j](nr, id, ip, nd, block_size, buffer);
/* check */
for(i=0;i<nr;++i) {