projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.67.3
[platform/upstream/glib.git]
/
gio
/
tests
/
testfilemonitor.c
diff --git
a/gio/tests/testfilemonitor.c
b/gio/tests/testfilemonitor.c
index
b74dc2b
..
44c7080
100644
(file)
--- a/
gio/tests/testfilemonitor.c
+++ b/
gio/tests/testfilemonitor.c
@@
-4,6
+4,8
@@
#include <stdlib.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <gio/gio.h>
+#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
/* 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)
{
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;
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);
g_object_unref (data.monitor);
g_object_unref (data.file);
g_object_unref (data.output_stream);
+#endif
}
int
}
int