mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
cat: ignore -u flag, just like GNU does
This commit is contained in:
parent
472b56f0ff
commit
cd70d7dec1
2 changed files with 18 additions and 0 deletions
|
@ -612,3 +612,14 @@ fn test_error_loop() {
|
|||
.fails()
|
||||
.stderr_is("cat: 1: Too many levels of symbolic links\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_u_ignored() {
|
||||
for same_param in ["-u", "-uu"] {
|
||||
new_ucmd!()
|
||||
.arg(same_param)
|
||||
.pipe_in("hello")
|
||||
.succeeds()
|
||||
.stdout_only("hello");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue