mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fixes the regression test making it less strict.
Creating files with at the same time, with the same name and same size but different content may trigger the SnapRAID check about bad data. This happens in Mac OS X that likely has a not so precise timestamp, with files created at the same time, even if using nanosecond precision.
This commit is contained in:
parent
549f232b3d
commit
e226040ce2
2 changed files with 3 additions and 3 deletions
2
HISTORY
2
HISTORY
|
|
@ -3,7 +3,7 @@ SnapRAID HISTORY
|
|||
|
||||
6.1 2014/4
|
||||
==========
|
||||
* Fix build in Mac OS X.
|
||||
* Fix build and regression test in Mac OS X.
|
||||
|
||||
6.0 2014/3
|
||||
==========
|
||||
|
|
|
|||
|
|
@ -216,10 +216,10 @@ endif
|
|||
echo 1 > bench/disk1/file_hardlink1
|
||||
ln bench/disk1/file_hardlink1 bench/disk1/file_hardlink2
|
||||
ln bench/disk1/file_hardlink1 bench/disk1/file_hardlink3
|
||||
echo 2 > bench/disk2/file_hardlink1
|
||||
echo 22 > bench/disk2/file_hardlink1
|
||||
ln bench/disk2/file_hardlink1 bench/disk2/file_hardlink2
|
||||
ln bench/disk2/file_hardlink1 bench/disk2/file_hardlink3
|
||||
echo 3 > bench/disk3/file_hardlink1
|
||||
echo 333 > bench/disk3/file_hardlink1
|
||||
ln bench/disk3/file_hardlink1 bench/disk3/file_hardlink2
|
||||
ln bench/disk3/file_hardlink1 bench/disk3/file_hardlink3
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS_VERBOSE) -c $(PAR1) diff > output.log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue