summaryrefslogtreecommitdiff
path: root/testsuite/tail/tail-works
blob: 50eca136ef05106de8ec5a00aa461feb0d0b60e3 (plain)
1
2
3
4
5
6
# FEATURE: CONFIG_INCLUDE_SUSv2

$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