summaryrefslogtreecommitdiffhomepage
path: root/testsuite/tail/tail-works
blob: f3434d1a9eb84b65b457701a2b5006b5163db708 (plain)
1
2
3
4
$ECHO -ne "abc\ndef\n123\n" >input
$ECHO -ne "def\n123\n" >logfile.ok
busybox tail -2 input > logfile.bb
cmp logfile.ok logfile.bb