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
Marcus Holland-Moritz
e8238c52f7
refactor(mkdwarfs): make output file logic easier to abstract
2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
f41e6ac31f
refactor: const os_access everywhere
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
c5c7b633c8
test: simple template for categorizer test (to be extended)
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
56191f34d0
refactor: retire deprecated stream_logger ctor
2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
676e46dd60
chore: add another *_main overload that always accepts utf8 args
...
This is mostly for convenient use from within the test suite.
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
67a4de0d52
fix: don't call check_section() in filesystem ctor (fixes gh #183 )
...
This regression was introduced in the v0.7.3 release and caused each
section header to be read from the filesystem image at mount time,
defeating the purpose of the section index.
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
dc904ba730
test: add regression test for gh #183
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
148cee8400
refactor(dwarfs): use userdata references instead of pointers
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
298e23973a
refactor: more iolayer abstraction
2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
ebc31762d9
refactor(file_stat): include the correct header
2023-12-26 12:05:47 +01:00
Marcus Holland-Moritz
71670cea8e
wip: hopefully fix terminal setup on Windows
2023-12-25 22:16:41 +01:00
Marcus Holland-Moritz
f7a6918e6b
fix(terminal): use stderr instead of stdout to get terminal width
2023-12-25 22:12:29 +01:00
Marcus Holland-Moritz
2bee3ec702
feat(mkdwarfs): support writing file system to stdout
2023-12-25 22:02:28 +01:00
Marcus Holland-Moritz
df09b171c2
refactor(filesystem_writer): avoid use of tellp() on output stream
2023-12-25 22:01:49 +01:00
Marcus Holland-Moritz
e461e167fc
test: new add_local_files test helper
2023-12-25 20:58:31 +01:00
Marcus Holland-Moritz
3b972313e8
refactor(mkdwarfs): abstract out iolayer for testing
2023-12-25 20:58:07 +01:00
Marcus Holland-Moritz
27efde4747
test(chmod): add chmod transformer test
2023-12-25 11:05:37 +01:00
Marcus Holland-Moritz
2500293f06
refactor(chmod): factor out chmod transformer
2023-12-25 11:05:37 +01:00
Marcus Holland-Moritz
ee178ac223
test: check tool usage
2023-12-24 11:58:17 +01:00
Marcus Holland-Moritz
ab54211e63
refactor: use smaller image for category tests
2023-12-24 09:34:32 +01:00
Marcus Holland-Moritz
cce7cdd494
refactor: simplify test handling in CMakeLists.txt
2023-12-24 09:11:47 +01:00
Marcus Holland-Moritz
6f7c71a817
chore: add .codecov.yml to ignore fsst
2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
037c9d6523
test: add xattr tests
2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
11da064a1a
fix: root inode should also have inodeinfo xattr
2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
e55025bed6
test: improve test coverage
2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
1590abbac3
fix: race for statebuf_ in simple progress mode
2023-12-22 22:55:15 +01:00
Marcus Holland-Moritz
9adf183117
docs: add codecov.io badge
2023-12-22 18:16:36 +01:00
Marcus Holland-Moritz
2f0203e432
chore: add codecov.io support
2023-12-22 18:04:57 +01:00
Marcus Holland-Moritz
d0198b311c
test: add some json filesystem info tests
2023-12-22 14:35:13 +01:00
Marcus Holland-Moritz
a3634b8dbf
fix: capture frozen views by value
2023-12-22 14:21:35 +01:00
Marcus Holland-Moritz
2fab87bf41
test: simple categorizer and json metadata tests
2023-12-22 13:37:57 +01:00
Marcus Holland-Moritz
a6e4c5f8ab
chore: update audio file generation script
2023-12-22 13:18:33 +01:00
Marcus Holland-Moritz
d59b1eaf58
docs(mkdwarfs): update sequence diagram
2023-12-22 10:50:39 +01:00
Marcus Holland-Moritz
adf547518f
build: export compile commands for project targets
2023-12-21 21:23:55 +01:00