summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/bbtests.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-06-14 15:00:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-15 08:00:41 +0100
commit66b7727577f864d1725e14f5e953be114360fea3 (patch)
tree228d51b96873d5a7146793b528e16d7ecfeca90d /meta/lib/oeqa/selftest/cases/bbtests.py
parent5776d07bddc051ce3e9e73ace26af924f426b51f (diff)
downloadpoky-66b7727577f864d1725e14f5e953be114360fea3.tar.gz
scripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrelated processes
There is already a neat check_free_port() function for finding an available port atomically, so use that and make two additional tweaks: - no need to allocate two separate ports; per unfsd documentation they can be the same - move lockfile release until after unfsd has been shut down and the port(s) used has been freed [YOCTO #15077] (From OE-Core rev: dee96e82fb04ea99ecd6c25513c7bd368df3bd37) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bbtests.py')
0 files changed, 0 insertions, 0 deletions