1515 Commits

Author SHA1 Message Date
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
3e1d69ea2a chore: support map_file without size argument 2024-01-01 16:56:46 +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
3dbff1e33a chore: remove SYS_CERR define 2024-01-01 16:10:48 +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
9e83ebd312 chore(util): add time point parser 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
c104dedc32 chore(entry): remove unused type_string() method 2023-12-31 17:36:42 +01:00
Marcus Holland-Moritz
1e0eeacfd6 test: add dump/info tests 2023-12-31 17:27:39 +01:00
Marcus Holland-Moritz
0ac4ba088f test: basic file_access tests 2023-12-31 16:18:43 +01:00
Marcus Holland-Moritz
6ac70d64bf fix(file_access): remove unnecessary special casing for windows 2023-12-31 16:18:11 +01:00
Marcus Holland-Moritz
22af434200 chore: update gtest to v1.14.0 2023-12-30 20:39:20 +01:00
Marcus Holland-Moritz
6d4153ca87 chore: add create_random_string() test helper 2023-12-30 20:13:17 +01:00
Marcus Holland-Moritz
9eb23bd7f3 chore: add throwing close() overload 2023-12-30 20:11:45 +01:00
Marcus Holland-Moritz
4d1de7ddf2 test: add inode dumping test 2023-12-30 17:16:04 +01:00
Marcus Holland-Moritz
86f0af2058 feat(scanner): use file_access abstraction for dumping inodes 2023-12-30 17:15:51 +01:00
Marcus Holland-Moritz
61db8cec2b chore: add open_output() to file_access 2023-12-30 17:08:22 +01:00
Marcus Holland-Moritz
8a61697799 chore(inode_manager): remove unused include 2023-12-30 16:47:15 +01:00
Marcus Holland-Moritz
46e6fbb721 chore: use file_access abstraction in builtin_script 2023-12-30 16:45:18 +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
eb60ed1ea5 test: add proper --chmod=norm test 2023-12-30 15:41:27 +01:00
Marcus Holland-Moritz
6a57d6243e refactor: introduce mkdwarfs_tester and simplify tests 2023-12-30 15:41:27 +01:00
Marcus Holland-Moritz
a8646a7d79 feat: add mode_string() and perm_string() to inode_view 2023-12-30 14:54:05 +01:00
Marcus Holland-Moritz
064c7c74a6 refactor: move mode string implementation to file_stat module 2023-12-30 14:54:05 +01:00
Marcus Holland-Moritz
14038dcfe7 chore: replace rogue throw in mkdwarfs_main 2023-12-30 12:22:35 +01:00
Marcus Holland-Moritz
33ea3bda7a test: add tests for --input-list 2023-12-30 00:54:01 +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
9753a4127c chore(segmenter): remove unused code 2023-12-29 22:50:32 +01:00
Marcus Holland-Moritz
b8476bc6a2 chore(inode): remove unused files() method 2023-12-29 22:28:01 +01:00
Marcus Holland-Moritz
5404e7a9f2 chore(inode): remove unused add_chunk() method 2023-12-29 22:26:02 +01:00
Marcus Holland-Moritz
ae43f112c3 test: add terminal tests 2023-12-29 22:23:02 +01:00
Marcus Holland-Moritz
6d9bb5a75e test(util): add tests for parse_(time|size)_with_unit 2023-12-29 22:04:54 +01:00
Marcus Holland-Moritz
abbbadd30b fix(util): improve error handling in parse_(size|time)_with_unit 2023-12-29 22:04:33 +01:00
Marcus Holland-Moritz
b87db2d15a test: add dwarfsextract perfmon test 2023-12-29 00:01:47 +01:00
Marcus Holland-Moritz
fe661174d5 refactor: move locale setup code to util module 2023-12-29 00:01:20 +01:00
Marcus Holland-Moritz
dbdf7e2296 refactor: remove unused code 2023-12-28 21:12:12 +01:00
Marcus Holland-Moritz
fa60881ad9 fix: allow everything to build/test without FLAC support 2023-12-28 20:57:44 +01:00
Marcus Holland-Moritz
17295ffdad test: exercise --chmod 2023-12-28 20:37:54 +01:00
Marcus Holland-Moritz
80dc5b0c8e test(dwarfs): add cache tidying options to tools test 2023-12-28 20:34:05 +01:00
Marcus Holland-Moritz
fea0352f67 test: test command line tool usage / help 2023-12-28 19:24:46 +01:00
Marcus Holland-Moritz
85be65e6f6 refactor: rename categorizer_test to tool_main_test 2023-12-28 19:02:52 +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
b81242d6b6 refactor(mkdwarfs): abstract out file creation 2023-12-28 19:02:52 +01:00