132 Commits

Author SHA1 Message Date
Edwin Eefting
9e2476ac84
use mbuffer to simulate actual slow transfer (test_progress) 2024-09-17 14:25:32 +02:00
Edwin Eefting
4c5339dedd
better output to fixed progress test 2024-09-17 13:27:34 +02:00
Edwin Eefting
b115f4b081
fix test 2024-09-17 12:46:07 +02:00
Edwin Eefting
8879519e32
fix test 2024-09-17 12:37:20 +02:00
Edwin Eefting
b247b0408b
fix test 2024-09-17 12:31:30 +02:00
Edwin Eefting
a2f4dd4227
some fixes to run tests from pycharm with a suid-python binary 2024-09-17 12:10:02 +02:00
Edwin Eefting
6d4f22b69e
Revert "wip"
This reverts commit de3dff77b85524ac5280d0a9292461d16a30afea.
2023-11-22 11:13:02 +01:00
Edwin Eefting
de3dff77b8
wip 2023-10-15 16:16:05 +02:00
Edwin Eefting
a62e793247
add obscure kernel test 2023-10-12 22:19:30 +02:00
Edwin Eefting
439ea6a3bc
more tests 2023-10-04 13:29:39 +02:00
Edwin Eefting
ff86e3c67f
improve ssh speed during testing 2023-10-03 12:49:32 +02:00
Edwin Eefting
8b8be80ab7
tests can be run in a dockercontainer now. (just start ./tests/run_tests_docker to magically do it) changed time patching during testing to use mocktime() instead. fixed alpine issues. fixed #206 2023-10-02 23:15:37 +02:00
Edwin Eefting
5cca819916
central timehandling and better mocking during test 2023-10-02 16:29:46 +02:00
Edwin Eefting
477e980ba2
more test fixing 2023-09-28 00:00:10 +02:00
Edwin Eefting
b817df8779
fix test 2 2023-09-27 23:47:54 +02:00
Edwin Eefting
46580fb500
fix test 2023-09-27 23:43:37 +02:00
Edwin Eefting
aa2c283746
various automount fixes 2023-09-27 23:34:29 +02:00
Edwin Eefting
50f8aba101
dont automount when encryption is enabled but no key is loaded 2023-09-27 01:22:30 +02:00
Edwin Eefting
771127d34a
fix #112, pretty big change in mounting behaviour 2023-09-27 00:52:06 +02:00
Edwin Eefting
6e5a6764c5
fix #219 2023-09-26 18:01:09 +02:00
Edwin Eefting
a7d05a7064
allow disabling guid-checking as well, for performance 2023-09-26 17:13:40 +02:00
Edwin Eefting
d90ea7edd2
reduce number of dataset exist-checks 2023-09-26 16:52:48 +02:00
Edwin Eefting
7cffec1d26
check guid of common snapshot, fix #218 2023-09-26 16:16:32 +02:00
Edwin Eefting
be53c454da
workaround python 3.10 unittest2 problem 2023-04-04 16:27:18 +02:00
Edwin Eefting
428e6edc13
fix some tests 2023-04-04 16:10:58 +02:00
Edwin Eefting
23fbafab42
ubuntu18 is no longer available.
add ubuntu 22 support

test python 2 in ubuntu 20
2023-04-04 14:20:19 +02:00
Edwin Eefting
cdd151d45f
fix #190. --exclude-received now expects number of bytes instead that have to be changed for a dataset to not get excluded. (default 0)
this also makes it so that it doesnt conflict with --allow-empty.

added regression tests for exclude-unchanged as well.
2023-04-04 14:10:58 +02:00
Baldur Kristinsson
a078be3e9e Fix reference string checked by destroymissing test 2023-02-13 14:17:33 +01:00
Edwin Eefting
564daaa1f8 allow to only select parent dataset, non-recursively. (usefull for /var/lib/docker ) 2022-08-16 09:04:58 +02:00
oddlama
aedeb726d4 Add tests for correct relative timestamp ordering 2022-07-12 11:07:14 +02:00
oddlama
78d7dbab6d Implement --utc switch to force UTC time (closes #155) 2022-07-12 11:07:14 +02:00
Edwin Eefting
75161c1bd2 refactorred ZfsCheck.py for better sigpipe handling 2022-03-08 17:22:08 +01:00
Edwin Eefting
7c372cf211 test check skipping 2022-03-07 22:59:50 +01:00
Edwin Eefting
8854303b7a test skipping 2022-03-07 21:57:36 +01:00
Edwin Eefting
233745c345 reworking block skipper 2022-03-07 21:08:56 +01:00
Edwin Eefting
d99c202e75 fix 2022-02-23 21:21:07 +01:00
Edwin Eefting
44c6896ddd merged v3.1.2-rc2 2022-02-23 20:43:49 +01:00
Edwin Eefting
cab2f98bb8 Better strip path handling and collision checking. Now also supports stripping so much it ends up on a pool-target.
Fixes #102, #117
2022-02-23 17:47:50 +01:00
Edwin Eefting
8276d07feb fix 2022-02-22 19:52:16 +01:00
Edwin Eefting
82ad7c2480 more tests 2022-02-22 19:25:15 +01:00
Edwin Eefting
f29cf13db3 test compare as well 2022-02-22 18:48:51 +01:00
Edwin Eefting
f4e81bddb7 progress output 2022-02-22 18:00:06 +01:00
Edwin Eefting
f530cf40f3 fixes. supports stdin 2022-02-22 17:40:38 +01:00
Edwin Eefting
6a58a294a3 now yields errors and mismatches 2022-02-22 14:47:15 +01:00
Edwin Eefting
3f755fcc69 moved tests 2022-02-21 22:38:56 +01:00
Edwin Eefting
d7d76032de more tests 2022-02-21 22:37:13 +01:00
Edwin Eefting
490b293ba1 block compare 2022-02-21 14:27:22 +01:00
Edwin Eefting
2d42d1d1a5 forgot a test 2022-02-21 14:02:45 +01:00
Edwin Eefting
a2f85690a3 extract BlockHasher and TreeHasher classes 2022-02-21 13:49:05 +01:00
Edwin Eefting
a807ec320e zfs-check broken pipe handling tests for volumes 2022-02-21 13:01:45 +01:00