summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9aa2762)
seconds rather then one: the old sleep(1) doesn't seem to reliably
give long enough for all four of the servers to get started up in the
Debian package-building process (id-pbuild.sh) on squeeze, so that
nearly always at least one of the four builds hangs in the test suite,
with the sever waiting for an already-dead client to connect. And
that means that the whole build fails. Hopefully this will fix that.
$handler->launch_server("test.pl", "-1", @ARGV);
} else { ## Child starts the client
$handler->launch_server("test.pl", "-1", @ARGV);
} else { ## Child starts the client
open(CLIENT, "| yaz-client tcp:localhost:9999 > /dev/null")
or die "Couldn't fork client: $!\n";
print CLIENT "f test\n";
open(CLIENT, "| yaz-client tcp:localhost:9999 > /dev/null")
or die "Couldn't fork client: $!\n";
print CLIENT "f test\n";