50eca136ef05106de8ec5a00aa461feb0d0b60e3
[external/busybox.git] / util-linux / testsuite / tail / tail-works
1 # FEATURE: CONFIG_INCLUDE_SUSv2
2
3 $ECHO -ne "abc\ndef\n123\n" >input
4 $ECHO -ne "def\n123\n" >logfile.ok
5 busybox tail -2 input > logfile.bb
6 cmp logfile.ok logfile.bb