tests: Properly synchronize threads in the 'home-page' lint tests.
authorLudovic Courtès <ludo@gnu.org>
Tue, 13 Jan 2015 10:08:23 +0000 (11:08 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 13 Jan 2015 10:09:05 +0000 (11:09 +0100)
commit4655005e2441c7001a89293242719fe35b894e40
tree3e3da64201bff536d5c5678f644c3d6882d4165a
parent35ed9306b980591f108e01c87a811b63df011fbf
tests: Properly synchronize threads in the 'home-page' lint tests.

* tests/lint.scm (%http-server-lock, %http-server-ready): New
  variables.
  (http-open): New procedure.
  (stub-http-server): Use it.
  (call-with-http-server): Wrap body in 'with-mutex'.  Call
  'wait-condition-variable' after 'make-thread'.
tests/lint.scm