mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
head, tail: include presume-input-pipe parameter
This commit is contained in:
parent
bed7dc5a29
commit
1eee2194a3
4 changed files with 49 additions and 4 deletions
|
@ -563,3 +563,12 @@ fn test_lines_zero_terminated() {
|
|||
.succeeds()
|
||||
.stdout_only("b\0c\0d\0e\0");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_presume_input_pipe_default() {
|
||||
new_ucmd!()
|
||||
.arg("---presume-input-pipe")
|
||||
.pipe_in_fixture(FOOBAR_TXT)
|
||||
.run()
|
||||
.stdout_is_fixture("foobar_stdin_default.expected");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue