54 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
d786083d3d chore: move everything but the writer code from GPLv3 to MIT license 2025-04-07 21:32:26 +02:00
Marcus Holland-Moritz
bfadb40615 refactor(test_helpers): improve os_access_mock flexibility / readability 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
853d8ca966 test: factor out mtree parser 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
43b469865b fix: add missing overrides 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
1984775dc4 fix(test_helpers): don't memset simplestat 2024-08-15 22:04:19 +02:00
Marcus Holland-Moritz
969d527391 chore: remove unused stream members in test_terminal 2024-08-15 16:42:17 +02:00
Marcus Holland-Moritz
c2513f4e81 test: add env variable to allow skipping slow tests in CI 2024-08-13 11:53:01 +02:00
Marcus Holland-Moritz
e81c2de507 refactor: move writer library to writer namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
0987dba63d refactor: replace script with separate filters and transformers 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
db75114105 refactor: move more code to tool namespace 2024-08-02 16:22:41 +02:00
Marcus Holland-Moritz
a39d9f6922 refactor(script): remove unused script API 2024-07-28 23:20:40 +02:00
Marcus Holland-Moritz
522efd04f7 refactor: switch to using system includes for dwarfs headers 2024-05-22 14:56:08 +02:00
Marcus Holland-Moritz
407b75b28c test: more os_access_mock features 2024-04-29 18:50:46 +02: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
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
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
b9f8e61229 chore: clean separation between is_tty() and is_fancy() for terminal 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
2d4d8e79c9 fix: correctly handle delayed file access errors 2024-01-15 21:09:51 +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
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
66533bad99 chore: try to make gmock regexes somewhat portable 2024-01-13 20:14:13 +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
70d6f1008d fix(metadata): access() should work according to mode flags 2024-01-13 09:39:34 +01:00
Marcus Holland-Moritz
7e40b3c34d test(block_cache): stress test with different configurations 2024-01-12 14:13:09 +01:00
Marcus Holland-Moritz
daf3e2def6 refactor: abstract out more terminal operations 2024-01-05 00:44:45 +01:00
Marcus Holland-Moritz
3c552eb3df test(mkdwarfs): add output file tests 2024-01-03 13:17:26 +01:00
Marcus Holland-Moritz
3e1d69ea2a chore: support map_file without size argument 2024-01-01 16:56:46 +01:00
Marcus Holland-Moritz
6d4153ca87 chore: add create_random_string() test helper 2023-12-30 20:13:17 +01:00
Marcus Holland-Moritz
61db8cec2b chore: add open_output() to file_access 2023-12-30 17:08:22 +01:00
Marcus Holland-Moritz
619abd8dc1 chore: add throwing file_access methods for convenience 2023-12-30 16:44:45 +01:00
Marcus Holland-Moritz
ac3248f966 feat: add getenv() abstraction to os_access 2023-12-30 15:56:21 +01:00
Marcus Holland-Moritz
84b5b6f32a refactor: add current_path() abstraction to os_access 2023-12-30 00:47:11 +01:00
Marcus Holland-Moritz
709c6bb01d refactor: make os_access and file_access settable in test_iolayer 2023-12-30 00:32:30 +01:00
Marcus Holland-Moritz
9274f7e461 refactor: input stream abstraction and wide char support 2023-12-29 23:34:20 +01:00
Marcus Holland-Moritz
fea0352f67 test: test command line tool usage / help 2023-12-28 19:24:46 +01:00
Marcus Holland-Moritz
1ef2b61207 refactor: add canonical() to os_access 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
1f8ad8fbc7 test: add test_file_access abstraction 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
7b2029674d refactor: simplify calling *_main() from tests even more 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
f90f0faec0 chore: add test_iolayer helper to simplify iolayer creation 2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
e461e167fc test: new add_local_files test helper 2023-12-25 20:58:31 +01:00
Marcus Holland-Moritz
f5e97a3212 test: support adding files with random contents 2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
78c15ad028 Ownership cleanup 2023-12-17 22:58:51 +01:00
Marcus Holland-Moritz
a0e70d5aef Build fix 2023-07-07 00:28:50 +02:00
Marcus Holland-Moritz
2836a488ea WIP: std::string -> fs::path 2023-06-26 00:34:42 +02:00
Marcus Holland-Moritz
fd157eb611 WIP file_stat 2023-06-22 00:15:26 +02:00
Marcus Holland-Moritz
ce9216f581 Add unreadable files as empty files (fixes gh #40) 2022-11-16 12:30:17 +01:00