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