aboutsummaryrefslogtreecommitdiff
path: root/lib/std/tar/testdata
AgeCommit message (Collapse)Author
2025-04-16std.tar: pass entry kind to rootDir to avoid setting root_dir to file (#23456)Tobias Simetsreiter
2024-05-01std.tar: fix finding tar root_dir (#19829)Igor Anić
For issue #19820.
2024-04-02std.tar: implement executable bit onlyIgor Anić
2024-03-11std.tar: use doctestIgor Anić
Make std.tar look better in docs. Remove from public interface what is not necessary. Add comment to the public methods. Add doctest as usage examples for iterator and pipeToFileSystem.
2024-02-26Merge pull request #19081 from ianic/tar_case_sensitiveAndrew Kelley
std.tar don't overwrite files on unpack
2024-02-25std.tar improve error reportingIgor Anić
Report file name which failed to create in all cases.
2024-02-25std.tar add case sensitive file name testIgor Anić
Like in issue #18089, this tar contains, same file name in two case sensitive name version. Unpack should fail on case insensitive file systems and succeed on case sensitive. $ tar tvf 18089.tar 18089/ 18089/alacritty/ 18089/alacritty/darkermatrix.yml 18089/alacritty/Darkermatrix.yml
2024-02-24std.tar don't overwrite existing fileIgor Anić
Fail with error if file already exists. File is not silently overwritten but an error is raised. Fixes: #18089
2024-02-24std.tar fix assert exploited by fuzzingIgor Anić
2024-02-22fix crash in tar found by fuzzingIgor Anić
Running fuzzing tar test with [zig std lib fuzzing](https://github.com/squeek502/zig-std-lib-fuzzing) reached and assert in tar implementation. Assert (in std lib) should not be reachable by external input, so I'm fixing this to return error.
2024-01-13tar: move test cases to std/tar/testdataIgor Anić
Create std/tar/test.zig for test which uses cases from testdata.