57 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
0446513c06 fix: make sure exceptions in worker threads produce an error message 2024-01-14 20:16:06 +01:00
Marcus Holland-Moritz
179cfb8928 fix(inode_manager): handle file mapping errors 2024-01-14 17:26:58 +01:00
Marcus Holland-Moritz
3be0715c1f fix(segmenter): repeating sequence detection was broken + test
This never properly worked for bytes >= 0x10 due to hash collisions
in the map that was used to verify the repeating sequence.
2024-01-14 14:25:08 +01:00
Marcus Holland-Moritz
c322708a7b test: add filesystem read error tests 2024-01-14 10:59:44 +01:00
Marcus Holland-Moritz
27ac296248 test: add history tests 2024-01-14 10:59:29 +01:00
Marcus Holland-Moritz
66533bad99 chore: try to make gmock regexes somewhat portable 2024-01-13 20:14:13 +01:00
Marcus Holland-Moritz
8ebb06c482 test: make random file tree more random 2024-01-13 19:16:50 +01:00
Marcus Holland-Moritz
2d12cd6c30 test(mkdwarfs): add test for fancy vs. non-fancy logging 2024-01-13 19:08:24 +01:00
Marcus Holland-Moritz
95c50920f5 feat(mkdwarfs): exit with code 2 in case of recoverable errors 2024-01-13 18:49:06 +01:00
Marcus Holland-Moritz
f90bec0235 test(mkdwarfs): colored logs test 2024-01-13 18:41:27 +01:00
Marcus Holland-Moritz
5dd8715964 test(mkdwarfs): more error tests 2024-01-13 15:43:20 +01:00
Marcus Holland-Moritz
5cf79e2208 test(mkdwarfs): low memory limit warning 2024-01-13 15:26:32 +01:00
Marcus Holland-Moritz
00ef910ef3 test(dwarfsck): more header and image check tests 2024-01-13 11:19:59 +01:00
Marcus Holland-Moritz
cc2a03446f test(metadata): add inode_info test 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
30f9c776d9 test: always assert tester.run() success 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
8649cb93cb test(metadata): add opendir/readdir tests 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
70d6f1008d fix(metadata): access() should work according to mode flags 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
fc65375da6 refactor: tweak some tests for better performance 2024-01-13 07:49:51 +01:00
Marcus Holland-Moritz
f9785318d0 test(metadata): special file and time resolution tests 2024-01-13 00:27:47 +01:00
Marcus Holland-Moritz
b7cdf93072 test(mkdwarfs): add large input list test 2024-01-12 23:58:34 +01:00
Marcus Holland-Moritz
c205c37c54 test(mkdwarfs): test for filter recursion detection 2024-01-12 23:58:06 +01:00
Marcus Holland-Moritz
077763d26c test(metadata): add path and modestring tests 2024-01-12 23:58:03 +01:00
Marcus Holland-Moritz
ae7de2486a fix(mkdwarfs): make --max-similarity-size work again + tests 2024-01-09 09:54:46 +01:00
Marcus Holland-Moritz
e00ac88909 chore: improve option_map implementation 2024-01-07 12:12:40 +01:00
Marcus Holland-Moritz
1c9030e552 feat: simpler and more user friendly nilsimsa options 2024-01-07 11:44:50 +01:00
Marcus Holland-Moritz
a1ba52d146 chore(dwarfsextract): use iolayer abstractions for mapping image 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
55b0a19603 test: add basic dwarfsextract_main tests 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
e7c398dadd refactor: extract common code from tool tester classes 2024-01-06 17:28:27 +01:00
Marcus Holland-Moritz
8a21dc4ece test: add very basic progress test 2024-01-05 00:43:51 +01:00
Marcus Holland-Moritz
205c2f6630 test(mkdwarfs): add more metadata requirements tests 2024-01-05 00:00:16 +01:00
Marcus Holland-Moritz
cd9be29d61 test(mkdwarfs): corrupt input image when rewriting 2024-01-04 23:59:45 +01:00
Marcus Holland-Moritz
4868612f4d fix: error handling when using compression with metadata requirements 2024-01-04 12:06:50 +01:00
Marcus Holland-Moritz
3c552eb3df test(mkdwarfs): add output file tests 2024-01-03 13:17:26 +01:00
Marcus Holland-Moritz
8e4ecd6a9f test: add filesystem header tests 2024-01-03 12:43:14 +01:00
Marcus Holland-Moritz
accece15fd test(mkdwarfs): metadata packing options 2024-01-03 11:49:06 +01:00
Marcus Holland-Moritz
01065f92aa test: more mkdwarfs option tests 2024-01-02 19:38:35 +01:00
Marcus Holland-Moritz
0a0be0ce6f fix: --set-owner and --set-group did not work with non-zero ids 2024-01-02 19:38:35 +01:00
Marcus Holland-Moritz
710b321ac5 test: add mkdwarfs --debug-filter tests 2024-01-02 19:38:35 +01:00
Marcus Holland-Moritz
c1c0cc3528 test: improve inode dumping test 2024-01-02 17:14:40 +01:00
Marcus Holland-Moritz
d75f78b433 test: more mkdwarfs tests 2024-01-02 17:14:40 +01:00
Marcus Holland-Moritz
3575bfbc0e test: add recompression test 2024-01-01 22:20:29 +01:00
Marcus Holland-Moritz
e9688b7306 test: add test for failing to open input list file 2024-01-01 16:57:19 +01:00
Marcus Holland-Moritz
7fd51fb80c test: cannot combine --input-list and --filter 2024-01-01 16:19:39 +01:00
Marcus Holland-Moritz
04988e8a8a test: add tests for block size range 2024-01-01 16:15:12 +01:00
Marcus Holland-Moritz
e5856fc46e test: test invalid compression level 2024-01-01 16:13:04 +01:00
Marcus Holland-Moritz
7842919992 fix(mkdwarfs): don't use SYS_CERR directly + test 2024-01-01 16:09:02 +01:00
Marcus Holland-Moritz
d432b4bfa9 feat(mkdwarfs): support time strings for --set-time 2024-01-01 16:02:31 +01:00
Marcus Holland-Moritz
bf33cba221 test: add --set-time tests 2023-12-31 19:27:02 +01:00
Marcus Holland-Moritz
1e0eeacfd6 test: add dump/info tests 2023-12-31 17:27:39 +01:00
Marcus Holland-Moritz
4d1de7ddf2 test: add inode dumping test 2023-12-30 17:16:04 +01:00