Commit graph

141 commits

Author SHA1 Message Date
Andrea Mazzoleni
63f53a9274 Adds more info in the progress bar info for -G option. 2014-10-21 22:10:54 +02:00
Andrea Mazzoleni
447f1f1294 Makes fix to autodetect moved files and use them in recovering. 2014-10-19 22:25:30 +02:00
Andrea Mazzoleni
e17f12f26b Changes the import command to use a new timestamp recognition.
This avoid the need of prehashing all the data, that could
be very slow.
2014-10-19 21:07:17 +02:00
Andrea Mazzoleni
0388c250f9 In the test with filtered fixing avoids to prepend a partial fix. 2014-10-14 22:16:15 +02:00
Andrea Mazzoleni
be24f82cfd Fixes the use of star in the regression test. 2014-10-03 21:21:20 +02:00
Andrea Mazzoleni
6d4d75ad0b Increases a little the code coverage in testing. 2014-09-01 20:04:56 +02:00
Andrea Mazzoleni
71ff0620ce Sort the dir alphabetically if explicitely requested.
This ensures that the test is independent of the directory order
of the files.
2014-07-11 19:59:01 +02:00
Andrea Mazzoleni
1b4ebea11b Fixes the regression test when running in valgrind. 2014-07-04 18:16:28 +02:00
Andrea Mazzoleni
cc6fb0e6e0 Fixes regression test in Mac OS X. 2014-07-01 23:08:00 +02:00
Andrea Mazzoleni
5b083ad22e Adds a regression check for the new -N,--force-nocopy option. 2014-07-01 22:15:33 +02:00
Andrea Mazzoleni
c6a3742b40 Adds the new -F, --force-full option to force a full sync. 2014-06-15 19:01:07 +02:00
Andrea Mazzoleni
05d5fc7e3f Adds two extra tests about aborted syncs with files operations. 2014-06-15 18:00:00 +02:00
Andrea Mazzoleni
de86307a27 Uses a smarter copy detection to avoid false positive.
Now a if the file has a zero nanosecond timestamp, it must
match the full pathname.
Also add the new -N option and an new undocumented test-nano
command to set randomly the nanosecond timestamp of files
that have it at zero.
2014-05-15 23:45:51 +02:00
Andrea Mazzoleni
8c78b4b4a9 Avoids to test permission when run as root. 2014-05-11 17:37:08 +02:00
Andrea Mazzoleni
0d231038ff Extends the sync regression test to cover error conditions. 2014-04-07 23:12:40 +02:00
Andrea Mazzoleni
e226040ce2 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.
2014-04-02 21:46:23 +02:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Andrea Mazzoleni
1b4bd48e36 Adjusts coverage for new src dir. 2014-03-23 11:11:43 +01:00
Andrea Mazzoleni
a7bc628bc3 Moves the source files into the src/ dir. 2014-03-22 21:02:12 +01:00
Andrea Mazzoleni
ec9cdeac61 Handles failing tests in valgrind. 2014-03-22 11:43:43 +01:00
Andrea Mazzoleni
ba0c979c11 More coverage test. 2014-03-20 22:10:19 +01:00
Andrea Mazzoleni
7da71a39d3 A lot of more logging when a recovering fails. 2014-03-18 21:04:25 +01:00
Andrea Mazzoleni
1222084581 Ignores and cleans gcov files. 2014-03-17 22:08:04 +01:00
Andrea Mazzoleni
5383f00b5f Renames dry to test-dry. 2014-03-10 19:09:05 +01:00
Andrea Mazzoleni
50077ddfa6 Minor updates to autoconf stuffs. 2014-03-06 18:53:44 +01:00
Andrea Mazzoleni
cb0a280ddc Adds date and time specifier for the log file name. 2014-02-16 10:03:02 +01:00
Andrea Mazzoleni
857c8eba63 Converts prehash to be a command line option. 2014-02-12 22:04:14 +01:00
Andrea Mazzoleni
3dadfb99e9 Keeps the fast sync mode as the default mode. 2014-02-10 20:53:47 +01:00
Andrea Mazzoleni
ff6b4ff760 Increase a bit the test coverage. 2014-02-05 00:00:29 +01:00
Andrea Mazzoleni
8fb9803b34 Changes sync to hash as a separate step. 2014-02-02 23:03:37 +01:00
Andrea Mazzoleni
81f2fde927 Adds new test program for the RAID engine. 2014-01-18 10:37:09 +01:00
Andrea Mazzoleni
91c3de2182 Refactors the regression test. 2014-01-15 19:57:02 +01:00
Andrea Mazzoleni
0f6867ba4e In sync fixes silent error to compute the new parity. 2014-01-14 22:10:47 +01:00
Andrea Mazzoleni
e1e843c588 Differentiates the test for normal file change or silent error damage. 2014-01-14 18:47:00 +01:00
Andrea Mazzoleni
554055e53d Adds a new helper file for raid_sort and raid_insert. 2014-01-10 09:02:12 +01:00
Andrea Mazzoleni
00a05a80e5 Changes the argument format of raid_rec() and renames raid_par() to raid_gen(). 2014-01-08 17:07:13 +01:00
Andrea Mazzoleni
03482b84a6 Moves RAID tests in the raid/ dir. 2013-12-29 22:13:08 +01:00
Andrea Mazzoleni
b7a8858233 Adds a new sort functions for RAID. 2013-12-28 17:07:00 +01:00
Andrea Mazzoleni
abc05c612c Splits the RAID engine in multiple files. 2013-12-28 09:10:00 +01:00
Andrea Mazzoleni
a64e24d503 Fixes the gen-conf command. 2013-11-26 18:43:12 +01:00
Andrea Mazzoleni
22b3ca77b3 Changes configuration to use numbers to specify the parity level instead than letters. 2013-11-17 14:12:57 +01:00
Andrea Mazzoleni
915c3b9202 Renames parity level from RAID to PAR. 2013-11-13 21:35:44 +01:00
Andrea Mazzoleni
a5a3c33854 Adds support for fast triple parity without SSSE3. 2013-11-04 23:47:49 +01:00
Andrea Mazzoleni
877d781204 More testing. 2013-11-01 12:33:12 +01:00
Andrea Mazzoleni
066709370e Changes again the output of check/fix.
Now the file name are printed unless the undocumented -q is specified.
2013-10-31 18:41:10 +01:00
Andrea Mazzoleni
15d9bb4db2 Removes too verbose printing in check/fix. 2013-10-30 22:59:33 +01:00
Andrea Mazzoleni
fae56fd9af Generates combinations at runtime. 2013-10-29 22:22:40 +01:00
Andrea Mazzoleni
a92f4264df Removes the unused tommyarrayof. 2013-10-28 23:22:10 +01:00
Andrea Mazzoleni
5b60bd077d Minor comments and output changes. 2013-10-27 21:05:18 +01:00
Andrea Mazzoleni
9a5978eb22 Adds complete Cauchy RAID support and removes the mixed Power RAID. 2013-10-25 18:03:05 +02:00