dbus/test/name-test
Simon McVittie a7bbff5baf test-autolaunch-win: Don't overwrite an error with another error
An unrelated branch failed CI with this assertion failure:

    26: dbus[6768]: error: arguments to dbus_set_error() were incorrect,
    assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in
    file ...\dbus-errors.c line 365.

Looking at the test, this seems to be the most likely candidate for
this bug in error handling, which is masking whatever the real cause
for the failure was (we can't tell from here). If
dbus_connection_send_with_reply_and_block() returns NULL, then it should
already have set the error.

Fixing this bug in the error handling will hopefully give us a better
error message for the actual failure if it happens again.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-11 18:20:53 +00:00
..
.gitignore .gitignore: Normalize into LC_ALL=C sort order 2018-12-14 12:53:08 +00:00
CMakeLists.txt Add a test application for autostart on Windows implementation 2022-06-27 15:34:23 +02:00
Makefile.am build: Distribute Meson build system in release tarballs 2022-07-13 20:36:13 +01:00
meson.build test: Work around TAP test regression in Meson 0.63.0 2022-07-15 10:10:54 +01:00
run-test-systemserver.sh Add Meson build system 2022-07-13 20:36:13 +01:00
run-test.sh Add Meson build system 2022-07-13 20:36:13 +01:00
test-autolaunch-win.c test-autolaunch-win: Don't overwrite an error with another error 2022-10-11 18:20:53 +00:00
test-autolaunch.c test-autolaunch: Make recently-added message similar to the others 2017-06-08 18:43:38 +01:00
test-ids.c Refer to correct bus in test-ids error message 2018-12-11 10:39:26 +00:00
test-pending-call-disconnected.c Skip name-test/ when running under valgrind for now 2018-08-02 17:16:52 +01:00
test-pending-call-dispatch.c Skip name-test/ when running under valgrind for now 2018-08-02 17:16:52 +01:00
test-pending-call-timeout.c Skip name-test/ when running under valgrind for now 2018-08-02 17:16:52 +01:00
test-privserver-client.c Skip name-test/ when running under valgrind for now 2018-08-02 17:16:52 +01:00
test-shutdown.c Fix test-shutdown bail out on Windows 2018-12-05 10:55:28 +00:00
test-threads-init.c Skip name-test/ when running under valgrind for now 2018-08-02 17:16:52 +01:00