mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Refactors the regression test.
This commit is contained in:
parent
0f6867ba4e
commit
91c3de2182
6 changed files with 263 additions and 236 deletions
|
|
@ -279,6 +279,10 @@ int raid_test_par(int mode, int nd, size_t size)
|
|||
if (!v)
|
||||
return -1;
|
||||
|
||||
/* check memory */
|
||||
if (raid_mtest_vector(nv, size, v) != 0)
|
||||
return -1;
|
||||
|
||||
/* fill with random */
|
||||
raid_mrand_vector(nv, size, v);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue