1. 30 Jul, 2018 2 commits
  2. 16 Jul, 2018 1 commit
  3. 11 Jul, 2018 1 commit
  4. 09 Jul, 2018 1 commit
  5. 06 Jul, 2018 2 commits
  6. 05 Jul, 2018 6 commits
  7. 03 Jul, 2018 1 commit
  8. 29 Jun, 2018 3 commits
  9. 22 Jun, 2018 1 commit
  10. 21 Jun, 2018 3 commits
  11. 20 Jun, 2018 1 commit
  12. 19 Jun, 2018 1 commit
  13. 17 Jun, 2018 1 commit
  14. 13 Jun, 2018 1 commit
    • Will Thompson's avatar
      g_dbus_is_supported_address(): set error if returning FALSE · ba7b035f
      Will Thompson authored
      Previously, calling:
          g_dbus_is_supported_address ("some-imaginary-transport:", NULL)
      correctly returned FALSE; but calling:
          g_dbus_is_supported_address ("some-imaginary-transport:", &error)
      crashed with:
          assertion failed: (ret || (!ret && (error == NULL || *error != NULL)))
      This was because, if the address component did not start with a known
      transport, no error was set. Fix this, reusing an error string used by
      the corresponding else branch in g_dbus_address_connect(), and adjust
      the test to pass both NULL and non-NULL GError **s to this function in
      every test case. This case:
          g_assert (!g_dbus_is_supported_address ("some-imaginary-transport:foo=bar;unix:path=/this/is/valid", NULL));
      would have caught this bug with a non-NULL GError **.
  15. 10 Jun, 2018 1 commit
    • Emmanuele Bassi's avatar
      Classify the tests · 16d1a3d2
      Emmanuele Bassi authored
      Meson has the ability to classify tests according to "suites", a list of
      tags. This is especially useful when we want to run specific sets of
      tests — e.g. only GLib's tests — instead of the whole test suite. It
      also allows us to classify special tests, like "slow" ones, so that we
      can only run them when needed.
  16. 08 Jun, 2018 3 commits
  17. 07 Jun, 2018 2 commits
    • Philip Withnall's avatar
      Revert "Merge branch 'wip/oholy/trashing-locations' into 'master'" · da3daf28
      Philip Withnall authored
      This reverts merge request !49
    • Will Thompson's avatar
      fileinfo: make UNIX_IS_MOUNTPOINT be TRUE for / · 0c5f0842
      Will Thompson authored
      The previously implementation considered a file to be a mountpoint if
      its parent is on a different device. / is its own parent, so by this
      definition it is not a mountpoint.
      But / is (generally) listed in fstab, and fstab(5) defines the
      directories it contains to be mountpoints. This attribute should follow
      that definition (and reasonable expectation): the root directory is a
      So, add a special-case for the case where the file's parent has the same
      st_dev and st_ino as the file, which is true only at the root.
      Test this attribute at / (only on POSIX), /proc (but only on Linux), and
      at many files and directories created by the test suite (which cannot be
  18. 06 Jun, 2018 5 commits
    • Ting-Wei Lan's avatar
      tests: Use g_idle_add to call g_main_loop_quit · f2888984
      Ting-Wei Lan authored
      Sometimes file monitor events may be slow to emit. Using g_idle_add
      makes it less possible for events to be scheduled later than the main
      loop quit, preventing test failure caused by missing events.
      This fixes test failure on FreeBSD.
    • Ting-Wei Lan's avatar
      tests: Don't run file creation and deletion test on kqueue · 70e4ca03
      Ting-Wei Lan authored
      Kqueue isn't good at detecting rapid file creation and deletion. It
      tends to miss events because events returned by the kernel don't include
      filename information. Since the size of struct kevent is fixed, it is
      probably not possible to extend the API to include file names without
      breaking ABI. Therefore, we disables the test here to avoid test failure
      that is impossible to fix in a reliable way.
    • Ting-Wei Lan's avatar
      tests: Don't fail when not using du from GNU coreutils · bfbeb6f0
      Ting-Wei Lan authored
      The test 'file' uses non-standard '--bytes' option when running du,
      which may cause error on non-GNU systems. To keep the test working,
      we skips the du check as if we don't find a du command when du fails.
    • Ting-Wei Lan's avatar
      meson: Don't use -export-dynamic · 12a7f272
      Ting-Wei Lan authored
      -export-dynamic is a libtool flag. It is also supported by GCC as an
      undocumented flag, but it is not supported by Clang. Since we don't use
      libtool in meson, we should use -Wl,--export-dynamic instead.
    • Ondrej Holy's avatar
      glocalfile: Add test case for g_file_trash · f7e80f8d
      Ondrej Holy authored
      g_local_file_trash has been changed to return G_IO_ERROR_NOT_SUPPORTED
      for locations on system-internal mounts. Let's verify that.
  19. 01 Jun, 2018 1 commit
  20. 22 May, 2018 1 commit
  21. 15 May, 2018 1 commit
  22. 30 Apr, 2018 1 commit