
Am 16.09.2021 um 11:37 schrieb AKASHI Takahiro:
On Thu, Sep 16, 2021 at 11:14:01AM +0200, Michael Lawnick wrote:
Am 16.09.2021 um 10:02 schrieb AKASHI Takahiro:
On Thu, Sep 16, 2021 at 09:48:07AM +0200, Michael Lawnick wrote:
Am 16.09.2021 um 09:15 schrieb Michael Lawnick:
- What is the reason/use to iterate through the recognized partitions
even twice (in .setup and .execute) if they aren't needed/used?
What line of code do you exactly mean by 'in .setup' (and in .execute)?
My understanding: efi_selftests register their methods separated by setup/execute/teardown. The central test control is taking tests from list and executes the three methods, unaware of which exact test is executed: lib/efi_selftest/efi_selftest.c
That is exactly what efi_selftest.c does.
lib/efi_selftest/efi_selftest_block_device.c
And this is a test instance for block device test. So what's your question?
Hmm, I think the question is really clear, I don't know how to ask differently. But as the original issue is cleared and this is only for background understanding, let's drop it.
THX again to you and Heinrich for fast help.
-- KR Michael