Tomato 1.28
[tomato.git] / release / src / router / busybox / testsuite / tail / tail-works
blobf3434d1a9eb84b65b457701a2b5006b5163db708
1 $ECHO -ne "abc\ndef\n123\n" >input
2 $ECHO -ne "def\n123\n" >logfile.ok
3 busybox tail -2 input > logfile.bb
4 cmp logfile.ok logfile.bb