[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/3] libqtest: verify QEMU exit status
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH v4 0/3] libqtest: verify QEMU exit status |
Date: |
Thu, 24 May 2018 21:25:26 +0300 |
Whenever QEMU coredumps, the test would previously succeed.
With this patchset applied, one sees:
assertion failed: !WCOREDUMP(wstatus)
Changes from v3:
- add osdep stubs for non-linux platforms, suggested by Thomas
Changes from v2:
- bugfix
- assert returned pid
- rework complex asserts for clarity
Changes from v1:
- drop SIGTERM as suggested by Eric
Michael S. Tsirkin (3):
osdep: add wait.h compat macros
libqtest: fail if child coredumps
libqtest: add more exit status checks
include/qemu/osdep.h | 10 ++++++++++
tests/libqtest.c | 19 ++++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
--
MST