cat: Fix reporting "input file is output file" error when outputting to an input file #8025
86.20% of diff hit (target 87.13%)
View this Pull Request on Codecov
86.20% of diff hit (target 87.13%)
Annotations
Check warning on line 22 in src/uu/cat/src/platform/unix.rs
codecov / codecov/patch
src/uu/cat/src/platform/unix.rs#L22
Added line #L22 was not covered by tests
Check warning on line 25 in src/uu/cat/src/platform/unix.rs
codecov / codecov/patch
src/uu/cat/src/platform/unix.rs#L25
Added line #L25 was not covered by tests
Check warning on line 36 in src/uu/cat/src/platform/unix.rs
codecov / codecov/patch
src/uu/cat/src/platform/unix.rs#L36
Added line #L36 was not covered by tests
Check warning on line 39 in src/uu/cat/src/platform/unix.rs
codecov / codecov/patch
src/uu/cat/src/platform/unix.rs#L39
Added line #L39 was not covered by tests