1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 02:31:02 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein 18f9ca9da4 csplit: don't panic on missing suppressed file
Avoid a panic that would occur when attempting to remove a file that
didn't exist. This would happen when scanning for a regular expression
match, advancing by a positive offset, and suppressing empty files. For
example, before this commit,

    echo a | csplit -z - %a%1

would cause a panic. After this commit, the process terminates as
expected: without error, without output, and without any files written.

Fixes #7251.
2025-02-09 22:04:47 -05:00
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util csplit: don't panic on missing suppressed file 2025-02-09 22:04:47 -05:00
common Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
fixtures comm: don't use files for test 2025-01-15 16:13:51 +01:00
test_util_name.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00