tests/xwayland: do not call exit(SUCCESS)
authorPekka Paalanen <pekka.paalanen@collabora.com>
Wed, 6 Nov 2019 14:09:00 +0000 (16:09 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Fri, 22 Nov 2019 10:54:32 +0000 (12:54 +0200)
Successful tests should just return, not call exit() which breaks the new test
harness when it uses TAP.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
tests/xwayland-test.c

index d9d4a2d6e9aaf2db923a637b57497790cda63d5d..af0b5bae7f91c641da9acd19d3f5fd0d7a91989d 100644 (file)
@@ -103,5 +103,4 @@ TEST(xwayland_client_test)
        }
 
        XCloseDisplay(display);
-       exit(EXIT_SUCCESS);
 }