summaryrefslogtreecommitdiff
path: root/testsuite/tail
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-11 21:41:14 +0000
committerDenis Vlasenko2008-07-11 21:41:14 +0000
commitabe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch)
tree46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/tail
parent94884eb4866815e63293a6261f974601ce95b1dd (diff)
downloadbusybox-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-works4
-rw-r--r--testsuite/tail/tail-works4
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