Tests: use waitoforsocket() as uwsgi startup may take a while.
diff --git a/uwsgi.t b/uwsgi.t
index 0967f5f..ee25b2e 100644
--- a/uwsgi.t
+++ b/uwsgi.t
@@ -62,6 +62,9 @@
 
 $t->run();
 
+$t->waitforsocket('127.0.0.1:8081')
+	or die "Can't start uwsgi";
+
 ###############################################################################
 
 like(http_get('/'), qr/SEE-THIS/, 'uwsgi request');