summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
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 12:00:03 +0100
commit2984c87f270ad1219fddc6f022f4bf2ed38d7732 (patch)
treeaafa42549eb407a7261bd30d2b00801655c72932 /meta/classes/sanity.bbclass
parent6494c05e8097569416ebe368c5de5778ce7a7118 (diff)
downloadpoky-2984c87f270ad1219fddc6f022f4bf2ed38d7732.tar.gz
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 <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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):
174 # Check that we can fetch from various network transports 174 # Check that we can fetch from various network transports
175 errmsg = check_connectivity(data) 175 errmsg = check_connectivity(data)
176 testmsg = testmsg + check_connectivity(data) 176 testmsg = testmsg + check_connectivity(data)
177 return testmsg, errmsg == "" 177 return testmsg, errmsg != ""
178 178
179def check_sanity_version_change(data): 179def check_sanity_version_change(data):
180 # Sanity checks to be done when SANITY_VERSION changes 180 # Sanity checks to be done when SANITY_VERSION changes