summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2012-10-02 12:52:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 11:49:52 +0100
commit9fcd0866f0e30a50182434f6bcae13bf9575807f (patch)
tree3d431ebdd17593699989ba507af98118dc3db34d
parent16a892431d0c0d03f8b561b92909cf2f11af4918 (diff)
downloadopenembedded-core-9fcd0866f0e30a50182434f6bcae13bf9575807f.tar.gz
openembedded-core-9fcd0866f0e30a50182434f6bcae13bf9575807f.tar.bz2
openembedded-core-9fcd0866f0e30a50182434f6bcae13bf9575807f.zip
sanity.bbclass: Fix invalid test for network error
The test for network error in sanity.bbclass was negated. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index e2095ddd48..f2e9a74441 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