Andrea Mazzoleni
5c5e80a239
Change the return code for 'diff' if a sync is required
2015-04-28 19:15:16 +02:00
Andrea Mazzoleni
57b7d0be95
Drop hdparm use replaced by smartctl even for "down" command
2015-04-09 21:16:06 +02:00
Andrea Mazzoleni
99138c402e
Change "test-devices" to "devices" in the test
2015-04-06 17:18:15 +02:00
Andrea Mazzoleni
3dde106f6d
Add extra testing for the new 'smart' command
2015-03-31 23:47:34 +02:00
Andrea Mazzoleni
7bdee2c1d9
Add new raid_check() and raid_scan() functions
...
They are aimed to find the broken blocks using the extra
redundancy information.
2015-03-21 17:03:55 +01:00
Andrea Mazzoleni
f197cfbe45
Fix the regression test after diff command changes
2015-03-18 08:16:47 +01:00
Andrea Mazzoleni
83d967e2c0
Change "diff" to return an error if a "sync" is required
2015-03-02 23:01:15 +01:00
Andrea Mazzoleni
5812ec8bd8
Use standard smartctl.exe
2015-02-27 23:33:16 +01:00
Andrea Mazzoleni
e56de653da
Introduce a new messaging system
2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
fa5f31ddf9
Move stream implementation to a specific source file
2015-02-21 09:00:34 +01:00
Andrea Mazzoleni
d4a92f4918
Add additional regression test for streams
2015-02-20 19:07:19 +01:00
Andrea Mazzoleni
14c8307ed4
Extend the "smart" and "down" command to Windows
...
Now we are able to detect what low level device is associated
to the high level volume.
2015-02-15 18:34:27 +01:00
Andrea Mazzoleni
467bf0256b
Add preliminary Windows support for "smart" command
2015-01-24 19:17:34 +01:00
Andrea Mazzoleni
61117794b5
Print full stats only if verbose is specified
2015-01-24 14:10:51 +01:00
Andrea Mazzoleni
f974a8378b
Add error control at the smart command
2015-01-23 22:59:29 +01:00
Andrea Mazzoleni
16b872e30c
Refactors the new spin support with some rename and function splitting.
2015-01-11 17:43:31 +01:00
Andrea Mazzoleni
ffe7f6fa57
Adds new files support.c/h for low level support functions.
2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
b24807704e
Adds preliminary support for spinning up and down commands.
2015-01-02 15:53:15 +01:00
Andrea Mazzoleni
1a6338a169
Less error generation in the regression test.
2014-12-29 19:58:44 +01:00
Andrea Mazzoleni
f0a09de900
Less verbose output in the regression test.
2014-12-29 19:35:21 +01:00
Andrea Mazzoleni
5cc16bd4ad
Renames -s and -t to -S and -B.
...
We need some free space in option names and these
ones are anyway intended to be manual ones.
2014-12-29 09:00:14 +01:00
Andrea Mazzoleni
01b1f9a2cc
Renames TEST to CHECK to avoid name collisions.
...
In Windows it collides with test/ dir.
2014-11-22 23:36:58 +01:00
Andrea Mazzoleni
23910358d0
Fixes regression test of Spooky2 hash.
2014-11-13 22:59:14 +01:00
Andrea Mazzoleni
31558ca5f4
Uses a more precise hardware emulation in the test.
2014-11-12 21:56:33 +01:00
Andrea Mazzoleni
c647e75885
Adds regression test for autosave.
2014-11-10 23:06:14 +01:00
Andrea Mazzoleni
d86ace864d
Tests also with physical offsets to increase code coverage.
2014-11-05 08:23:01 +01:00
Andrea Mazzoleni
7054256c62
Ensures to test also the progress update.
2014-11-04 23:51:45 +01:00
Andrea Mazzoleni
61ce847d6a
Runs also the selftest in the emulator.
2014-11-04 23:30:02 +01:00
Andrea Mazzoleni
58b71438cf
Adds support for Intel SDE for test coverage.
2014-11-04 22:52:33 +01:00
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