From b78d807305e2918eb352938c04bd48e28424d087 Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Tue, 2 Oct 2012 12:52:00 +0300 Subject: [PATCH] sanity.bbclass: Fix invalid test for network error The test for network error in sanity.bbclass was negated. (From OE-Core rev: 9fcd0866f0e30a50182434f6bcae13bf9575807f) Signed-off-by: Bogdan Marinescu Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e2095dd..f2e9a74 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -174,7 +174,7 @@ def check_sanity_tmpdir_change(tmpdir, data): # Check that we can fetch from various network transports errmsg = check_connectivity(data) testmsg = testmsg + check_connectivity(data) - return testmsg, errmsg == "" + return testmsg, errmsg != "" def check_sanity_version_change(data): # Sanity checks to be done when SANITY_VERSION changes -- 2.7.4