mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
5f1bb85cfa
commit
35183c1b33
|
@ -1420,7 +1420,7 @@ class ModifyTests(WicTestCase):
|
|||
|
||||
# list directory content of the first partition
|
||||
result = runCmd("wic ls %s:1 -n %s" % (images[0], sysroot))
|
||||
self.assertIn('\n%s ' % kerneltype.upper(), result.output)
|
||||
self.assertIn('\n%s ' % kerneltype.upper(), result.output)
|
||||
self.assertIn('\nEFI <DIR> ', result.output)
|
||||
|
||||
# remove file. EFI partitions are case-insensitive so exercise that too
|
||||
|
|
Loading…
Reference in New Issue
Block a user