Use a different command to generate an empty file

The previous use of head was not supported in Mac OS X.
This commit is contained in:
Andrea Mazzoleni 2015-11-19 20:43:38 +01:00
parent 13ebe5824f
commit 5da8020121

View file

@ -287,7 +287,7 @@ endif
$(TESTENV) ./mktest$(EXEEXT) generate 1 6 $(CHECKCOUNT) $(CHECKSIZE)
echo DUP > bench/disk1/DUP1
echo DUP > bench/disk1/DUP2
head -c 0 /dev/zero > bench/disk1/ZERO
echo -n > bench/disk1/ZERO
echo --- Some commands with a not empty array
# Run a sync using physical offset
$(FAILENV) ./snapraid$(EXEEXT) $(CHECKFLAGS_PHYSICAL) -c $(CONF) --test-expect-need-sync diff > output.log