tests/option-context: fix under --verbose
authorDan Winship <danw@gnome.org>
Sun, 25 Nov 2012 16:42:59 +0000 (11:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Dec 2012 19:35:12 +0000 (14:35 -0500)
commit80253cd71007975946a084697ccec9891102a3e7
tree1f85338831488aabbd28529f0eee95c798080759
parent723a8f55880f1e7bf1b475901ce40e6cd443b72d
tests/option-context: fix under --verbose

We need to always pass G_TEST_TRAP_SILENCE_STDERR/STDOUT, or else
we can't check that they contained the right text later.

https://bugzilla.gnome.org/show_bug.cgi?id=679683
glib/tests/option-context.c