diff options
Diffstat (limited to 'testsuite/tail/tail-n-works')
-rw-r--r-- | testsuite/tail/tail-n-works | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tail/tail-n-works b/testsuite/tail/tail-n-works new file mode 100644 index 0000000..0e1319f --- /dev/null +++ b/testsuite/tail/tail-n-works @@ -0,0 +1,4 @@ +$ECHO -ne "abc\ndef\n123\n" >input +$ECHO -ne "def\n123\n" >logfile.ok +busybox tail -n 2 input > logfile.bb +cmp logfile.ok logfile.bb |