Handles failing tests in valgrind.

This commit is contained in:
Andrea Mazzoleni 2014-03-22 11:43:43 +01:00
parent ba0c979c11
commit ec9cdeac61
2 changed files with 13 additions and 3 deletions

View file

@ -274,7 +274,7 @@ endif
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) check
echo --- Corrupt the content file
$(TESTENV) ./mktest$(EXEEXT) write 1 100 100 test/content
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-expect-failure -c $(CONF) sync
$(FAILENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-expect-failure -c $(CONF) sync
rm test/content
echo --- Delete some files, create some new, sync and check
rm test/disk1/a/1*