Adds the option -S to skip the self test.

Skips the self test in the regression tests, but the first time.
This commit is contained in:
Andrea Mazzoleni 2011-04-29 17:44:14 +02:00
parent 142362dd8a
commit e06f35b7e1
3 changed files with 93 additions and 85 deletions

View file

@ -244,9 +244,9 @@ void selftest(void)
hashtest();
for(i=1;i<19;++i) {
raid5test(i, 4096);
raid6test(i, 4096);
for(i=1;i<=33;++i) {
raid5test(i, 2048);
raid6test(i, 2048);
}
}