summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 11:29:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:21 +0100
commit35183c1b33255e44801aa6a582a148c7831a4797 (patch)
treeb5eb7d1105ff5705e3761f180bfe7f4702f7f185
parent5f1bb85cfa3222468855d45201e090c9085ac9e2 (diff)
downloadpoky-35183c1b33255e44801aa6a582a148c7831a4797.tar.gz
selftest/wic: Tweak test case to not depend on kernel size
The current test assumes the kernel size leaves a certain amount of whitespace in the output. Improve this constraint so a slightly larger kernel doesn't fail the test. (From OE-Core rev: bd60c44bef4a1b5d3c8fe77a9e6d3a8f43b0dea4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 53058df226..0d664d7c39 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -1420,7 +1420,7 @@ class ModifyTests(WicTestCase):
1420 1420
1421 # list directory content of the first partition 1421 # list directory content of the first partition
1422 result = runCmd("wic ls %s:1 -n %s" % (images[0], sysroot)) 1422 result = runCmd("wic ls %s:1 -n %s" % (images[0], sysroot))
1423 self.assertIn('\n%s ' % kerneltype.upper(), result.output) 1423 self.assertIn('\n%s ' % kerneltype.upper(), result.output)
1424 self.assertIn('\nEFI <DIR> ', result.output) 1424 self.assertIn('\nEFI <DIR> ', result.output)
1425 1425
1426 # remove file. EFI partitions are case-insensitive so exercise that too 1426 # remove file. EFI partitions are case-insensitive so exercise that too