537 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
5fca0b2bc4 test(perfmon): test trace output 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
b5054c0d42 test(block_cache): sequential access detector tests 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
efb5995a20 fix(tools_test): retry fusermount when it occasionally fails 2024-04-28 09:06:31 +02:00
Marcus Holland-Moritz
5a2a0f515f fix(dwarfs): files not showing in finder w/o noapplexattr (gh #211) 2024-04-14 16:36:05 +02:00
Marcus Holland-Moritz
9e1d7fa618 fix(metadata): handle root uid correctly in access() (fixes gh #204) 2024-03-28 15:10:20 +01:00
Marcus Holland-Moritz
f1f55dd48c feat(dwarfs): add readahead option
The implementation is extremely simple for now and readahead is off
by default. When sequentially accessing large files, the speedup can
be significant, though.
2024-02-12 14:34:40 +01:00
Marcus Holland-Moritz
2f13a26bab test: add --recompress test for null compression (gh #193) 2024-02-11 10:50:21 +01:00
Marcus Holland-Moritz
e16cce2a15 fix(file_scanner): fix hardlink processing in presence of errors 2024-02-09 18:52:35 +01:00
Marcus Holland-Moritz
96d526fc8d fix(file_scanner): large hard linked files caused an exception
Somehow I managed to either completely forget to add items to
`file_start_hash_`, or I managed to remove the code at some point.
In any case, this meant large hard linked files could not to be
found in `unique_size_`, ultimately causing the file scanner to
throw.
2024-02-09 09:13:59 +01:00
Marcus Holland-Moritz
4e60bbb807 test: more checksum interface tests 2024-02-07 21:19:33 +01:00
Marcus Holland-Moritz
8831009a52 feat(dwarfsck): add --list, --checksum, --verbose (fixes gh #192) 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
7ded26d6a3 feat(checksum): add hexdigest() method 2024-02-07 20:59:47 +01:00
Marcus Holland-Moritz
b54347d341 refactor(tool_main_test): more relaxed error message tests 2024-02-07 17:29:26 +01:00
Marcus Holland-Moritz
9d104f5ec6 test: enable unicode progress tests on Windows 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
6f738f8f02 fix: sanitize UTF-8 strings, plus tests (fixes gh #191) 2024-02-06 10:20:58 +01:00
Marcus Holland-Moritz
43ec38d65d chore: fix warnings when building on macOS 2024-02-02 21:43:22 +01:00
Marcus Holland-Moritz
dbb412729b chore: macOS build tweaks 2024-02-02 14:27:55 +01:00
Marcus Holland-Moritz
a439edd88d feat: add ricepp compression and simple FITS categorizer 2024-02-02 14:23:21 +01:00
Marcus Holland-Moritz
17a74390c8 chore(tools_test): retry umount on macOS
We've seen some spurious failures to unmount a FUSE volume due to
the volume still being busy. Not sure if this fixes it, but worth
a try.
2024-02-01 17:09:59 +01:00
Marcus Holland-Moritz
a97161e6da feat: support building on OSX (should address gh #132) 2024-01-30 21:59:54 +01:00
Marcus Holland-Moritz
22c079a4ca refactor: slightly sleeker variant matching 2024-01-26 17:48:14 +01:00
Marcus Holland-Moritz
5d1992d06b refactor: replace gtest regexes with std::regex in tests 2024-01-23 15:16:07 +01:00
Marcus Holland-Moritz
3acddbe7e1 chore: add missing includes 2024-01-23 15:07:40 +01:00
Marcus Holland-Moritz
d7d390dbb3 test: make chmod_transformer_test easier to compile 2024-01-21 11:08:28 +01:00
Marcus Holland-Moritz
c323b84012 test: exercise script and entry interfaces 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
6f3ad2a563 test: try to improve test speed a bit 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
45439b5346 test: improve test speed and test more options 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
047b9bed61 refactor(pager): make pager somewhat testable 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
a1ab9502ed refactor: more os_access abstraction, worker group tests 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
06e1910554 refactor: pass os_access to worker_group and other classes 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
da608ba3e6 refactor: use class to temporarily disable leak checks 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
f5869ddbf4 test: tool --man tests 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
b9f8e61229 chore: clean separation between is_tty() and is_fancy() for terminal 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
6994f9691e feat: add support for built-in manual pages 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
6e1e82e29d feat: only report basename of file in runtime errors 2024-01-17 09:32:50 +01:00
Marcus Holland-Moritz
b11725b495 fix(mkdwarfs): don't store inodes with inconsistent fragments 2024-01-16 18:21:28 +01:00
Marcus Holland-Moritz
6804aa0f75 refactor(test_helpers): argument name was a bit too specific 2024-01-16 18:21:28 +01:00
Marcus Holland-Moritz
07acf5579c fix: windows compiler warning 2024-01-16 18:21:28 +01:00
Marcus Holland-Moritz
860912e5e4 refactor: get rid of std::endl 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
fd005e0e06 feat(filesystem): load image even if non-metadata sections are corrupt 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
f95ae41a9b test(filesystem): find_image_offset tests 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
70d3c8232d test: check inode dumps in the presence of read/map errors 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
6cf799a96e test: test log context presence and option 2024-01-16 15:58:22 +01:00
Marcus Holland-Moritz
96a0ae1156 feat(logging): consolidate log option handling, add --log-with-context 2024-01-15 22:08:44 +01:00
Marcus Holland-Moritz
2d4d8e79c9 fix: correctly handle delayed file access errors 2024-01-15 21:09:51 +01:00
Marcus Holland-Moritz
f08dec266b refactor: more flexible random file tree generation for testing 2024-01-15 08:34:16 +01:00
Marcus Holland-Moritz
f3b8dc29e4 chore: support using real terminal in test_iolayer 2024-01-15 08:34:16 +01:00
Marcus Holland-Moritz
3dbe63b7df chore: support logging in worker_group 2024-01-14 20:16:06 +01:00
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