diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-07 16:10:32 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-07 16:10:32 +0300 |
commit | 854ddfac002e753a6389b48d3b9296fe32665ad3 (patch) | |
tree | ff9a2be83f68dd66239ff3a798222dc2f0afc9b8 /tests/tail.test | |
parent | 5bc00f0da395aa4ec779bb802bd78bf893565143 (diff) | |
parent | 3fbacb1f5c5eab1727d0bed0bd50d659af854ec7 (diff) | |
download | toybox-854ddfac002e753a6389b48d3b9296fe32665ad3.tar.gz |
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'tests/tail.test')
-rwxr-xr-x | tests/tail.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tail.test b/tests/tail.test index 036f433c..94644c8f 100755 --- a/tests/tail.test +++ b/tests/tail.test @@ -73,3 +73,9 @@ testing "-f one two three" \ 'tail -f one two three & sleep .25 ; echo more >> three ; echo also >> one; sleep .25; kill $! >/dev/null' \ "==> one <==\nuno\n\n==> two <==\ndos\n\n==> three <==\ntres\nmore\n\n==> one <==\nalso\n" "" "" rm one two three + +testing "-F" "tail -s .1 -F walrus 2>/dev/null & sleep .2; echo hello > walrus; +sleep .2; truncate -s 0 walrus; sleep .2; echo potato >> walrus; sleep .2; +echo hello >> walrus; sleep .2; rm walrus; sleep .2; echo done > walrus; + sleep .5; kill %1" "hello\npotato\nhello\ndone\n" "" "" +rm -f walrus |