[git commit] testsuite: fix bunzip2.tests expectations

Denys Vlasenko vda.linux at googlemail.com
Sun May 26 11:51:41 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=b2c123d484dbe261758f27ced213f4649173803b
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 testsuite/bunzip2.tests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/bunzip2.tests b/testsuite/bunzip2.tests
index edb332748..69e34dfd0 100755
--- a/testsuite/bunzip2.tests
+++ b/testsuite/bunzip2.tests
@@ -562,7 +562,7 @@ if test "${0##*/}" = "bunzip2.tests"; then
     fi
 
     errout="`${bb}bunzip2 <bz2_issue_12.bz2 2>&1 >/dev/null`"
-    if test x"$errout:$?" = x"bunzip2: bunzip error -3:1"; then
+    if test x"$errout:$?" = x"bunzip2: bunzip error -5:1"; then
 	echo "PASS: $unpack: bz2_issue_12.bz2 corrupted example"
     else
 	echo "FAIL: $unpack: bz2_issue_12.bz2 corrupted example"


More information about the busybox-cvs mailing list