qtest: Add error reporting to socket_accept()
commita7d915f388355f5353f2b692a1abd7868b8307a1
authorAndreas Färber <afaerber@suse.de>
Thu, 17 Apr 2014 16:38:25 +0000 (17 18:38 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 5 May 2014 18:58:33 +0000 (5 20:58 +0200)
tree83bb76ea9c2f10b31ffb11264648ebf158215034
parenta7ded163dbe548075d65219c6189f059da2d99bb
qtest: Add error reporting to socket_accept()

We're not using the GLib infrastructure here, to allow cleaning up the
sockets. Still, knowing why a certain test run failed can be valuable.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/libqtest.c