busybox/testsuite/tail/tail-works

7 lines
164 B
Plaintext
Raw Normal View History

# 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