diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 21:41:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-11 21:41:14 +0000 |
commit | abe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch) | |
tree | 46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/tail | |
parent | 94884eb4866815e63293a6261f974601ce95b1dd (diff) | |
download | busybox-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.gz |
testsuite: uniformly use $ECHO with -n -e
Diffstat (limited to 'testsuite/tail')
-rw-r--r-- | testsuite/tail/tail-n-works | 4 | ||||
-rw-r--r-- | testsuite/tail/tail-works | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tail/tail-n-works b/testsuite/tail/tail-n-works index e5b260caf..0e1319fa6 100644 --- a/testsuite/tail/tail-n-works +++ b/testsuite/tail/tail-n-works @@ -1,4 +1,4 @@ -echo -ne "abc\ndef\n123\n" >input -echo -ne "def\n123\n" >logfile.ok +$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 diff --git a/testsuite/tail/tail-works b/testsuite/tail/tail-works index 64e6d88ab..f3434d1a9 100644 --- a/testsuite/tail/tail-works +++ b/testsuite/tail/tail-works @@ -1,4 +1,4 @@ -echo -ne "abc\ndef\n123\n" >input -echo -ne "def\n123\n" >logfile.ok +$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 |