1. 07 Mar, 2019 3 commits
  2. 18 Jan, 2019 2 commits
    • Iain Lane's avatar
      gio/tests/gdbus-proxy: test_proxy: check the server is properly killed · 63038d1e
      Iain Lane authored
      We kill the test service at the end of this test. Let's also ensure that
      the name on the bus goes away and that we are notified about this
      happening.
      63038d1e
    • Iain Lane's avatar
      gio/tests/gdbus-proxy: Make `proxy_ready` test start the server after the proxy · 7aa83536
      Iain Lane authored
      There's a race here, as revealed by Debian's buildds.
      
      We call g_dbus_proxy_new() to create a proxy for the test server, with
      callback proxy_ready() Then we call g_spawn_command_line_async() to
      start the test server, and then start the main loop.
      
      proxy_ready() assumes that the test server hasn't been started when it
      is called. But there is no guarantee that these asynchronous operations
      involving spawning a process won't happen in a different order that mean
      the bus name *does* have an owner.
      
      What we can do is move starting the server inside of proxy_ready(), so
      we know that the test server isn't started until after the proxy is
      created. We also add an assertion to check that it is indeed not running
      before we execute it.
      7aa83536
  3. 26 Oct, 2017 1 commit
  4. 11 Oct, 2017 1 commit
  5. 29 May, 2017 1 commit
  6. 31 Jan, 2014 1 commit
  7. 29 Oct, 2013 1 commit
  8. 29 May, 2013 2 commits
  9. 28 May, 2013 1 commit
  10. 27 May, 2013 1 commit
  11. 20 May, 2013 1 commit
  12. 13 May, 2013 1 commit
  13. 15 Jan, 2013 1 commit
    • Matthias Clasen's avatar
      Fix distcheck · d4f0ae2c
      Matthias Clasen authored
      With gdbus-testserver now being a compiled program, it no longer
      lives in SRCDIR.
      d4f0ae2c
  14. 06 Jan, 2013 1 commit
  15. 03 Jan, 2013 1 commit
  16. 19 Dec, 2012 2 commits
  17. 15 Nov, 2012 1 commit
  18. 02 Nov, 2012 1 commit
  19. 16 Oct, 2012 1 commit
  20. 28 Aug, 2012 2 commits
  21. 01 May, 2012 1 commit
  22. 19 Apr, 2012 1 commit
  23. 18 Apr, 2012 2 commits
  24. 19 Mar, 2012 1 commit
  25. 08 Feb, 2012 1 commit
  26. 27 Dec, 2011 1 commit
  27. 05 Oct, 2011 2 commits
  28. 03 Sep, 2010 2 commits
    • Christian Persch's avatar
      Plug a mem leak in the gdbus-proxy test · db4fb1b1
      Christian Persch authored
      ==23341== 65 bytes in 3 blocks are definitely lost in loss record 927 of 1,020
      ==23341==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
      ==23341==    by 0x4057094: g_malloc (gmem.c:134)
      ==23341==    by 0x40573DB: g_malloc_n (gmem.c:281)
      ==23341==    by 0x40717FC: g_strdup (gstrfuncs.c:101)
      ==23341==    by 0x4147F56: value_lcopy_string (gvaluetypes.c:313)
      ==23341==    by 0x4123F0B: g_object_get_valist (gobject.c:1643)
      ==23341==    by 0x41240FF: g_object_get (gobject.c:1731)
      ==23341==    by 0x804C39E: test_basic (gdbus-proxy.c:522)
      
      Bug #628331.
      db4fb1b1
    • Christian Persch's avatar
      Plug a mem leak in the gdbus-proxy test · 5de1bf4a
      Christian Persch authored
      ==23341== 85 (24 direct, 61 indirect) bytes in 1 blocks are definitely lost in loss record 900 of 971
      ==23341==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
      ==23341==    by 0x4057094: g_malloc (gmem.c:134)
      ==23341==    by 0x406F2D6: g_slice_alloc (gslice.c:836)
      ==23341==    by 0x406F31B: g_slice_alloc0 (gslice.c:848)
      ==23341==    by 0x403A751: g_error_new_valist (gerror.c:54)
      ==23341==    by 0x403AAD4: g_set_error (gerror.c:240)
      ==23341==    by 0x420B807: decode_method_reply (gdbusconnection.c:4774)
      ==23341==    by 0x420C2BA: g_dbus_connection_call_sync (gdbusconnection.c:5188)
      ==23341==    by 0x421B7C9: g_dbus_proxy_call_sync (gdbusproxy.c:2477)
      ==23341==    by 0x804BD89: test_bogus_method_return (gdbus-proxy.c:430)
      
      Bug #628331.
      5de1bf4a
  29. 31 Jul, 2010 1 commit
  30. 30 Jul, 2010 1 commit
  31. 11 Jun, 2010 1 commit