]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Fix invalid test for network error
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>
Tue, 2 Oct 2012 09:52:00 +0000 (12:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 10:49:52 +0000 (11:49 +0100)
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>
meta/classes/sanity.bbclass

index e2095ddd48ff5a18b733dce8941864e063c6d539..f2e9a74441dbd8ce74e519b2b78074f6581ae0d2 100644 (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