qemu-cr16/tests
Peter Maydell aca68d95c5 libqtest: check for g_setenv() failure
g_setenv() can fail; check for it when starting a QEMU process
when we set the QEMU_AUDIO_DRV environment variable.

Because this happens after fork() reporting an exact message
via printf() is a bad idea; just exit(1), as we already do
for the case of execlp() failure.

Fixes: Coverity CID 1460117
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210820163750.9106-1-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-09-06 09:07:00 +02:00
..
acceptance tests: Remove uses of deprecated raspi2/raspi3 machine names 2021-09-01 11:08:15 +01:00
bench
data tests: acpi: tpm1.2: Add expected TPM 1.2 ACPI blobs 2021-08-31 17:33:12 -04:00
decode
docker ci: add libusb for windows builds 2021-07-29 11:18:24 +02:00
fp tests/fp: Enable more tests 2021-06-03 14:09:03 -07:00
guest-debug
image-fuzzer
include
keys
migration tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
multiboot
perf/block/qcow2
plugin tests/plugins/syscalls: adhere to new arg-passing scheme 2021-09-02 11:29:34 +01:00
qapi-schema qapi: Tweak error messages for unknown / conflicting 'if' keys 2021-09-03 17:09:10 +02:00
qemu-iotests iotests/image-fleecing: add test-case for copy-before-write filter 2021-09-01 14:38:08 +02:00
qtest libqtest: check for g_setenv() failure 2021-09-06 09:07:00 +02:00
rocker
tcg tests/plugins/insn: made arg inline not positional and parse it as bool 2021-09-02 11:29:34 +01:00
tsan
uefi-test-tools
unit tests: Remove uses of deprecated raspi2/raspi3 machine names 2021-09-01 11:08:15 +01:00
vm tests/vm: update openbsd to release 6.9 2021-07-14 14:33:53 +01:00
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include Acceptance tests: do not try to reuse packages from the system 2021-07-13 16:19:41 -04:00
meson.build
requirements.txt acceptance tests: bump Avocado version to 88.1 2021-06-01 16:21:21 -04:00
test-qht-par.c
vhost-user-bridge.c