gio/tests/pollable: add can_poll() assertions
authorDan Winship <danw@gnome.org>
Wed, 20 Jun 2012 14:14:01 +0000 (10:14 -0400)
committerDan Winship <danw@gnome.org>
Wed, 20 Jun 2012 14:14:01 +0000 (10:14 -0400)
commit80b6074aa27815e3c824f1e01ccb2431b03feec4
treed616f8badc3e18519a0b08b5c15fe728a01b53d1
parent7d0db042234165678f5dfafef3dd96d3af97b56c
gio/tests/pollable: add can_poll() assertions

Assert that socket streams and socket/pipe-based unix streams are
pollable, and file-based unix streams are not.

https://bugzilla.gnome.org/show_bug.cgi?id=677770
gio/tests/pollable.c