diff options
Diffstat (limited to 'testsuite/tail/tail-works')
-rw-r--r-- | testsuite/tail/tail-works | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tail/tail-works b/testsuite/tail/tail-works new file mode 100644 index 0000000..f3434d1 --- /dev/null +++ b/testsuite/tail/tail-works @@ -0,0 +1,4 @@ +$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 |