summaryrefslogtreecommitdiff
path: root/testsuite/bzcat.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 21:41:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 21:41:14 +0000
commitabe49fa54fbd4d13f8424532abced8c3bc9afd0c (patch)
tree46b91fabcbe3aab24dd2f926c915553f633c5ed9 /testsuite/bzcat.tests
parent94884eb4866815e63293a6261f974601ce95b1dd (diff)
downloadbusybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.gz
busybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.tar.bz2
busybox-w32-abe49fa54fbd4d13f8424532abced8c3bc9afd0c.zip
testsuite: uniformly use $ECHO with -n -e
Diffstat (limited to 'testsuite/bzcat.tests')
-rwxr-xr-xtestsuite/bzcat.tests12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/bzcat.tests b/testsuite/bzcat.tests
index 16fa3c248..0bc744244 100755
--- a/testsuite/bzcat.tests
+++ b/testsuite/bzcat.tests
@@ -12,15 +12,15 @@ unset LANGUAGE
12hello_gz() { 12hello_gz() {
13 # Gzipped "HELLO\n" 13 # Gzipped "HELLO\n"
14 #_________________________ vvv vvv vvv vvv - mtime 14 #_________________________ vvv vvv vvv vvv - mtime
15 echo -ne "\x1f\x8b\x08\x00\x85\x1d\xef\x45\x02\x03\xf3\x70\xf5\xf1\xf1\xe7" 15 $ECHO -ne "\x1f\x8b\x08\x00\x85\x1d\xef\x45\x02\x03\xf3\x70\xf5\xf1\xf1\xe7"
16 echo -ne "\x02\x00\x6e\xd7\xac\xfd\x06\x00\x00\x00" 16 $ECHO -ne "\x02\x00\x6e\xd7\xac\xfd\x06\x00\x00\x00"
17} 17}
18 18
19hello_bz2() { 19hello_bz2() {
20 # Bzipped "HELLO\n" 20 # Bzipped "HELLO\n"
21 echo -ne "\x42\x5a\x68\x39\x31\x41\x59\x26\x53\x59\x5b\xb8\xe8\xa3\x00\x00" 21 $ECHO -ne "\x42\x5a\x68\x39\x31\x41\x59\x26\x53\x59\x5b\xb8\xe8\xa3\x00\x00"
22 echo -ne "\x01\x44\x00\x00\x10\x02\x44\xa0\x00\x30\xcd\x00\xc3\x46\x29\x97" 22 $ECHO -ne "\x01\x44\x00\x00\x10\x02\x44\xa0\x00\x30\xcd\x00\xc3\x46\x29\x97"
23 echo -ne "\x17\x72\x45\x38\x50\x90\x5b\xb8\xe8\xa3" 23 $ECHO -ne "\x17\x72\x45\x38\x50\x90\x5b\xb8\xe8\xa3"
24} 24}
25 25
26prep() { 26prep() {
@@ -31,7 +31,7 @@ prep() {
31 31
32check() { 32check() {
33 eval $2 >t_actual 2>&1 33 eval $2 >t_actual 2>&1
34 if echo -ne "$expected" | cmp - t_actual; then 34 if $ECHO -ne "$expected" | cmp - t_actual; then
35 echo "$1: PASS" 35 echo "$1: PASS"
36 else 36 else
37 echo "$1: FAIL" 37 echo "$1: FAIL"