]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Use oe._exit(), not sys.exit()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Sep 2021 09:21:58 +0000 (10:21 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 30 Sep 2021 14:20:38 +0000 (04:20 -1000)
commit2130363c7a8762866b523e596adf44ab63f40722
tree5b4d21b41c630ad2d47f2bf010861ed8d19a2a4c
parent6b0e7d478bf23bcae774422160be51419c45c386
oeqa/qemurunner: Use oe._exit(), not sys.exit()

sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec08498ff29de9ccd23be88b9d7af3dab6bbb81e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/utils/qemurunner.py