mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tail: test following multiple files
The test_follow_multiple() test verifies that input is read upon append on both files and that headers are printed when expected.
This commit is contained in:
parent
f9627e02d0
commit
9c584bab9d
4 changed files with 42 additions and 0 deletions
2
tests/fixtures/tail/foobar2.txt
vendored
Normal file
2
tests/fixtures/tail/foobar2.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
un
|
||||
deux
|
15
tests/fixtures/tail/foobar_follow_multiple.expected
vendored
Normal file
15
tests/fixtures/tail/foobar_follow_multiple.expected
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
==> foobar.txt <==
|
||||
dos
|
||||
tres
|
||||
quattro
|
||||
cinco
|
||||
seis
|
||||
siette
|
||||
ocho
|
||||
nueve
|
||||
diez
|
||||
once
|
||||
|
||||
==> foobar2.txt <==
|
||||
un
|
||||
deux
|
4
tests/fixtures/tail/foobar_follow_multiple_appended.expected
vendored
Normal file
4
tests/fixtures/tail/foobar_follow_multiple_appended.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
==> foobar.txt <==
|
||||
doce
|
||||
trece
|
Loading…
Add table
Add a link
Reference in a new issue