diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-02-13 17:23:08 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-02-20 11:01:34 +0100 |
commit | 9a404b4e60c3a9166d98491fed778c64a67150bc (patch) | |
tree | 25d01da509e21ac7b86df9d09227181ef5494c7d /lib/oeqa/selftest | |
parent | 1f6b311c9fc567d7038988cc60be148c3181c111 (diff) | |
download | meta-updater-9a404b4e60c3a9166d98491fed778c64a67150bc.tar.gz |
Only expect credentials in the image if using autoprov.
The credentials test was failing if any other provisioning recipe was
specified.
Diffstat (limited to 'lib/oeqa/selftest')
-rw-r--r-- | lib/oeqa/selftest/updater.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oeqa/selftest/updater.py b/lib/oeqa/selftest/updater.py index 0962cb7..7e8a615 100644 --- a/lib/oeqa/selftest/updater.py +++ b/lib/oeqa/selftest/updater.py | |||
@@ -57,6 +57,7 @@ class GeneralTests(oeSelfTest): | |||
57 | self.assertNotEqual(result, -1, 'Feature "systemd" not set at DISTRO_FEATURES') | 57 | self.assertNotEqual(result, -1, 'Feature "systemd" not set at DISTRO_FEATURES') |
58 | 58 | ||
59 | def test_credentials(self): | 59 | def test_credentials(self): |
60 | self.write_config('SOTA_CLIENT_PROV = " aktualizr-auto-prov "') | ||
60 | bitbake('core-image-minimal') | 61 | bitbake('core-image-minimal') |
61 | credentials = get_bb_var('SOTA_PACKED_CREDENTIALS') | 62 | credentials = get_bb_var('SOTA_PACKED_CREDENTIALS') |
62 | # skip the test if the variable SOTA_PACKED_CREDENTIALS is not set | 63 | # skip the test if the variable SOTA_PACKED_CREDENTIALS is not set |