[PATCH 2/9] testsuite: Source testing.sh for bunzip2, gunzip, and bzcat tests
Steve Capper
steve.capper at arm.com
Mon Apr 4 10:49:55 UTC 2022
From: Tudor Cretu <tudor.cretu at arm.com>
testing.sh is needed to provide a definition for $ECHO.
Signed-off-by: Tudor Cretu <tudor.cretu at arm.com>
Reviewed-by: Steve Capper <steve.capper at arm.com>
[SteveC: s/testing/testing.sh/ in bunzip2.tests]
Signed-off-by: Steve Capper <steve.capper at arm.com>
---
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
More information about the busybox
mailing list