diff options
author | Denis Vlasenko | 2008-07-11 21:41:14 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-11 21:41:14 +0000 |
commit | abe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch) | |
tree | 46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/tail | |
parent | 94884eb4866815e63293a6261f974601ce95b1dd (diff) | |
download | busybox-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.zip 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 e5b260c..0e1319f 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 64e6d88..f3434d1 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 |