]> git.donarmstrong.com Git - debbugs.git/commitdiff
Create an empty pseudo-packages.description, and sleep after creating the webserver
authorDon Armstrong <don@volo>
Mon, 19 Feb 2007 08:07:09 +0000 (00:07 -0800)
committerDon Armstrong <don@volo>
Mon, 19 Feb 2007 08:07:09 +0000 (00:07 -0800)
t/lib/DebbugsTest.pm

index 9f5f8e6a900c72a6fed841348d87d11a473b5dce..f04dfb60364a24cf12aed807b3105af235bf1bb5 100644 (file)
@@ -85,6 +85,7 @@ END
                            "$config_dir/indices/sources" => <<END,
 foo main foo
 END
+                           "$config_dir/pseudo-packages.description" => '',
                           );
      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 {