GApplication test: fix testcase to avoid fork()
authorRyan Lortie <desrt@desrt.ca>
Wed, 14 Sep 2011 15:06:02 +0000 (11:06 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 14 Sep 2011 18:09:12 +0000 (14:09 -0400)
commit39294664a679dbfa89d0d23ebfea2a44c1dee42b
tree70045aadbc7e23dc685c204d23a8682e721e71cc
parent01ed78d525cf2f8769022e27cc2573ec7ba123b3
GApplication test: fix testcase to avoid fork()

The GApplication test case tried to fork() while using GMainLoop,
causing problems.  Avoid doing that by splitting the child process into
a separate program and spawning it in the usual way.

https://bugzilla.gnome.org/show_bug.cgi?id=658999
gio/tests/.gitignore
gio/tests/Makefile.am
gio/tests/basic-application.c [new file with mode: 0644]
gio/tests/gapplication.c