1
Fork 0
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:
DevSabb 2022-03-31 11:16:55 -04:00 committed by Sylvestre Ledru
parent bed7dc5a29
commit 1eee2194a3
4 changed files with 49 additions and 4 deletions

View file

@ -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");
}