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>
This commit is contained in:
Bogdan Marinescu 2012-10-02 12:52:00 +03:00 committed by Richard Purdie
parent 6494c05e80
commit 2984c87f27
1 changed files with 1 additions and 1 deletions

View File

@ -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