From: Bogdan Marinescu Date: Tue, 2 Oct 2012 09:52:00 +0000 (+0300) Subject: sanity.bbclass: Fix invalid test for network error X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fcd0866f0e30a50182434f6bcae13bf9575807f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sanity.bbclass: Fix invalid test for network error The test for network error in sanity.bbclass was negated. Signed-off-by: Bogdan Marinescu Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e2095ddd48f..f2e9a74441d 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