[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#712848: FTBFS on kfreebsd-*: test-suite hangs and is killed after a timeout



GLib-GIO:ERROR:/?PKGBUILDDIR?/./gio/tests/file.c:452:test_create_delete:
assertion failed (data->monitor_created == 1): (0 == 1)
  /file/async-create-delete/0:                                         FAIL

May well be due to the kqueue support for file monitor. Help fixing it on
kfreebsd is very welcome.

This test is guarded by:

  /* This test doesn't work with GPollFileMonitor, because it assumes
   * that the monitor will notice a create immediately followed by a
   * delete, rather than coalescing them into nothing.
   */
  if (!strcmp (G_OBJECT_TYPE_NAME (data->monitor), "GPollFileMonitor"))
    {
      g_print ("skipping test for this GFileMonitor implementation");
      goto skip;
    }

The kqueue support might have the same limit.

I do not know whether is better to use kqueue via gamin
or kqueue directly in glib2.0.

Petr


Reply to: