summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/signing.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/signing.py')
-rw-r--r--meta/lib/oeqa/selftest/signing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py
index d2b3f0003c..1babca07df 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -160,7 +160,7 @@ class LockedSignatures(oeSelfTest):
160 bitbake('-S none %s' % test_recipe) 160 bitbake('-S none %s' % test_recipe)
161 161
162 feature = 'require %s\n' % locked_sigs_file 162 feature = 'require %s\n' % locked_sigs_file
163 feature += 'SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "warn"\n' 163 feature += 'SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"\n'
164 self.write_config(feature) 164 self.write_config(feature)
165 165
166 # Build a locked recipe 166 # Build a locked recipe
@@ -180,7 +180,7 @@ class LockedSignatures(oeSelfTest):
180 ret = bitbake(test_recipe) 180 ret = bitbake(test_recipe)
181 181
182 # Verify you get the warning and that the real task *isn't* run (i.e. the locked signature has worked) 182 # Verify you get the warning and that the real task *isn't* run (i.e. the locked signature has worked)
183 patt = r'WARNING: The %s:do_package sig \S+ changed, use locked sig \S+ to instead' % test_recipe 183 patt = r'WARNING: The %s:do_package sig is computed to be \S+, but the sig is locked to \S+ in SIGGEN_LOCKEDSIGS\S+' % test_recipe
184 found_warn = re.search(patt, ret.output) 184 found_warn = re.search(patt, ret.output)
185 185
186 self.assertIsNotNone(found_warn, "Didn't find the expected warning message. Output: %s" % ret.output) 186 self.assertIsNotNone(found_warn, "Didn't find the expected warning message. Output: %s" % ret.output)