diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-23 03:28:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-23 03:28:40 +0000 |
commit | 69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3 (patch) | |
tree | 1939c21e008bb456049b186d8e3f61f41842b9e8 /testsuite/tail | |
parent | c8bac033f321d6077be35a6ce127b2587d096583 (diff) | |
download | busybox-w32-69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3.tar.gz busybox-w32-69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3.tar.bz2 busybox-w32-69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3.zip |
tail: fix fallout from tail -c optimization
Diffstat (limited to 'testsuite/tail')
-rw-r--r-- | testsuite/tail/tail-n-works | 8 | ||||
-rw-r--r-- | testsuite/tail/tail-works | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/tail/tail-n-works b/testsuite/tail/tail-n-works index 27a905f88..e5b260caf 100644 --- a/testsuite/tail/tail-n-works +++ b/testsuite/tail/tail-n-works | |||
@@ -1,4 +1,4 @@ | |||
1 | [ -n "$d" ] || d=.. | 1 | echo -ne "abc\ndef\n123\n" >input |
2 | tail -n 2 "$d/README" > logfile.gnu | 2 | echo -ne "def\n123\n" >logfile.ok |
3 | busybox tail -n 2 "$d/README" > logfile.bb | 3 | busybox tail -n 2 input > logfile.bb |
4 | cmp logfile.gnu logfile.bb | 4 | cmp logfile.ok logfile.bb |
diff --git a/testsuite/tail/tail-works b/testsuite/tail/tail-works index 27a905f88..64e6d88ab 100644 --- a/testsuite/tail/tail-works +++ b/testsuite/tail/tail-works | |||
@@ -1,4 +1,4 @@ | |||
1 | [ -n "$d" ] || d=.. | 1 | echo -ne "abc\ndef\n123\n" >input |
2 | tail -n 2 "$d/README" > logfile.gnu | 2 | echo -ne "def\n123\n" >logfile.ok |
3 | busybox tail -n 2 "$d/README" > logfile.bb | 3 | busybox tail -2 input > logfile.bb |
4 | cmp logfile.gnu logfile.bb | 4 | cmp logfile.ok logfile.bb |