gio/tests/file: skip the file monitor tests if using GPollFileMonitor
authorDan Winship <danw@gnome.org>
Fri, 3 Feb 2012 16:35:26 +0000 (11:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 6 Aug 2012 15:27:38 +0000 (11:27 -0400)
commit26f1e0938eeb61c7f93b651aa316e33f3b0d6292
treee7f001e626dafd0e0ab6c451e64994a32f9cfb26
parent2793b39ea3de4fdac5cf154c7a12ac7ba82657d2
gio/tests/file: skip the file monitor tests if using GPollFileMonitor

test_create_delete() assumes that if it creates a file and then
immediately deletes it, that the file monitor will notice this and
record it as a create followed by a delete. But that won't work with
GPollFileMonitor, which will just think nothing changed. So skip the
test in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=669331
gio/tests/file.c