tests: Fix souphttpsrc tests without CK_FORK=no
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Sun, 9 Oct 2016 14:56:10 +0000 (16:56 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 20 Oct 2016 10:29:07 +0000 (13:29 +0300)
commit6deab72e108b466d8509b415780e3481f7bf5a83
tree6141ee2512ac9f6222c094673008feed55143c62
parent22ced681af8a27bce0ce59a9db68c902e916390b
tests: Fix souphttpsrc tests without CK_FORK=no

It seems that the forked processes all attempt to handle the listening
socket from the server, and only one has to shutdown the socket to break
the server completely.

Create a new server inside each test to avoid this.

https://bugzilla.gnome.org/show_bug.cgi?id=772656
tests/check/elements/souphttpsrc.c