]> code.ossystems Code Review - openembedded-core.git/commit
selftest/signing: Fix test_locked_signatures to use a temporary layer
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Oct 2019 10:59:03 +0000 (10:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Nov 2019 11:45:25 +0000 (11:45 +0000)
commit467c72ff2c9fe00c40d04d5d859d860fb267499e
treee13e2b63c9c74050d89952983194389681cfd0e3
parent038004866ff6650bcff7bb1bde36de6c0f451d29
selftest/signing: Fix test_locked_signatures to use a temporary layer

Tests shouldn't be writing to layers during tests as this could corrupt
other tests running in parallel.

Modify the test to write the bbappend to a separate temporary layer
which is added and removed by the test. This avoids race failures
on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/signing.py