From bebb2923cf3d666d3a8c95e35dd8d15fbefa2c14 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 31 Dec 2015 17:33:07 +0100 Subject: [PATCH] In regression testing avoid spreading rehash It could affect the recovering stragety of aborted sync, because at that point you don't known anymore that hash was in use. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index f54f8ecf..07089c07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -673,6 +673,8 @@ endif $(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) --test-force-scrub-even scrub $(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) status $(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) check + $(MSG) Full sync to complete rehash + $(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) -F sync $(MSG) Delete files from three disks and check/fix with import by data in PAR2 rm -r bench/disk1/a rm -r bench/disk2/a