diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-30 15:21:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-30 15:21:55 +0100 |
commit | 2181a7f558eb52a22f09f8add9ac0abb4f2ee016 (patch) | |
tree | 0de6c09897dd3ff80d13a9ccfab62839e2234ae5 /src/libsystemd-bus/test-bus-chat.c | |
parent | a3de5ae1d7d881bbd4869c6c4a200c84bda00ced (diff) |
bus: implement server mode, and anonymous authentication
Diffstat (limited to 'src/libsystemd-bus/test-bus-chat.c')
-rw-r--r-- | src/libsystemd-bus/test-bus-chat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-bus-chat.c b/src/libsystemd-bus/test-bus-chat.c index e124b247d1..906a7e646c 100644 --- a/src/libsystemd-bus/test-bus-chat.c +++ b/src/libsystemd-bus/test-bus-chat.c @@ -564,9 +564,15 @@ int main(int argc, char *argv[]) { q = pthread_join(c1, &p); if (q != 0) return EXIT_FAILURE; + if (PTR_TO_INT(p) < 0) + return EXIT_FAILURE; + q = pthread_join(c2, &p); if (q != 0) return EXIT_FAILURE; + if (PTR_TO_INT(p) < 0) + return EXIT_FAILURE; + if (r < 0) return EXIT_FAILURE; |