From: Tudor Cretu <[email protected]>

testing.sh is needed to provide a definition for $ECHO.

Signed-off-by: Tudor Cretu <[email protected]>
Reviewed-by: Steve Capper <[email protected]>
[SteveC: s/testing/testing.sh/ in bunzip2.tests]
Signed-off-by: Steve Capper <[email protected]>
---
 testsuite/bunzip2.tests | 2 +-
 testsuite/bzcat.tests   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/testsuite/bunzip2.tests b/testsuite/bunzip2.tests
index 69e34dfd0..4117c9776 100755
--- a/testsuite/bunzip2.tests
+++ b/testsuite/bunzip2.tests
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Used by both gunzip and bunzip2 tests
 
-FAILCOUNT=0
+. ./testing.sh
 
 if test "${0##*/}" = "gunzip.tests"; then
     unpack=gunzip
diff --git a/testsuite/bzcat.tests b/testsuite/bzcat.tests
index ad05dcb2c..c2f61dea8 100755
--- a/testsuite/bzcat.tests
+++ b/testsuite/bzcat.tests
@@ -1,9 +1,8 @@
 #!/bin/sh
 
+. ./testing.sh
 test -f "$bindir/.config" && . "$bindir/.config"
 
-FAILCOUNT=0
-
 bb="busybox "
 
 unset LC_ALL
-- 
2.35.1

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to