X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Ftests%2Ftestfilemonitor.c;h=44c70805b0467342d78d68b3a5e9c14321be7ecb;hb=c5080b2dbc1053bdacc0ca59022fb1a9793895c5;hp=b74dc2b713b13ab5f4ae0b6e3b33a819f93af2d2;hpb=171ab2d5613fb4a84f9c599300f4ddbdd5dc18f7;p=platform%2Fupstream%2Fglib.git diff --git a/gio/tests/testfilemonitor.c b/gio/tests/testfilemonitor.c index b74dc2b..44c7080 100644 --- a/gio/tests/testfilemonitor.c +++ b/gio/tests/testfilemonitor.c @@ -4,6 +4,8 @@ #include #include +#include "glib/glib-private.h" + /* These tests were written for the inotify implementation. * Other implementations may require slight adjustments in * the tests, e.g. the length of timeouts @@ -954,6 +956,11 @@ static void test_file_hard_links (Fixture *fixture, gconstpointer user_data) { +#ifdef _GLIB_ADDRESS_SANITIZER + g_test_incomplete ("FIXME: Leaks an inotify data structure, see glib#2311"); + (void) file_hard_links_output; + (void) file_hard_links_step; +#else GError *error = NULL; TestData data; @@ -1004,6 +1011,7 @@ test_file_hard_links (Fixture *fixture, g_object_unref (data.monitor); g_object_unref (data.file); g_object_unref (data.output_stream); +#endif } int