]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/lib/DebbugsTest.pm
send_message in DebbugsTest should return true
[debbugs.git] / t / lib / DebbugsTest.pm
index a23fdd4d7a0f56dd4e10df34b79ba1ffbb052dbf..c18e86eea278396b5ad6c006712281abe6466a8a 100644 (file)
@@ -124,6 +124,9 @@ END
      }
      system('mkdir','-p',"$spool_dir/incoming");
      system('mkdir','-p',"$spool_dir/lock");
+     # generate the maintainers index files
+     system('scripts/maintainer-indices') == 0
+        or die "Unable to generate maintainer index files";
      eval '
 END{
      if ($ENV{DEBUG}) {
@@ -205,7 +208,8 @@ sub send_message{
      # now we should run processall to see if the message gets processed
      if ($param{run_processall}) {
          system('scripts/processall') == 0 or die "processall failed";
-     }
+      }
+     return 1;
 }
 
 =item test_control_commands