summaryrefslogtreecommitdiff
path: root/testsuite/tail/tail-works
blob: 64e6d88abfb91a134c145cb1c28867f049b699f5 (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