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:
parent
6494c05e80
commit
2984c87f27
|
@ -174,7 +174,7 @@ def check_sanity_tmpdir_change(tmpdir, data):
|
||||||
# Check that we can fetch from various network transports
|
# Check that we can fetch from various network transports
|
||||||
errmsg = check_connectivity(data)
|
errmsg = check_connectivity(data)
|
||||||
testmsg = testmsg + check_connectivity(data)
|
testmsg = testmsg + check_connectivity(data)
|
||||||
return testmsg, errmsg == ""
|
return testmsg, errmsg != ""
|
||||||
|
|
||||||
def check_sanity_version_change(data):
|
def check_sanity_version_change(data):
|
||||||
# Sanity checks to be done when SANITY_VERSION changes
|
# Sanity checks to be done when SANITY_VERSION changes
|
||||||
|
|
Loading…
Reference in New Issue