From: Don Armstrong Date: Mon, 19 Feb 2007 08:07:09 +0000 (-0800) Subject: Create an empty pseudo-packages.description, and sleep after creating the webserver X-Git-Tag: release/2.6.0~585^2^2~14 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e9dd6680470c70ac38b68fa78c17e986e53f709f;p=debbugs.git Create an empty pseudo-packages.description, and sleep after creating the webserver --- diff --git a/t/lib/DebbugsTest.pm b/t/lib/DebbugsTest.pm index 9f5f8e6..f04dfb6 100644 --- a/t/lib/DebbugsTest.pm +++ b/t/lib/DebbugsTest.pm @@ -85,6 +85,7 @@ END "$config_dir/indices/sources" => < '', ); while (my ($file,$contents) = each %files_to_create) { system('mkdir','-p',dirname($file)); @@ -181,6 +182,8 @@ sub send_message{ return 0 if not defined $pid; if ($pid) { $child_pid = $pid; + # Wait here for a second to let the child start up + sleep 1; return $pid; } else {