dougm       00/04/20 23:24:28

  Modified:    .        Makefile.PL
  Log:
  create test files during Makefile.PL so 'make test' can be run as root
  
  Revision  Changes    Path
  1.158     +9 -0      modperl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- Makefile.PL       2000/04/21 05:56:19     1.157
  +++ Makefile.PL       2000/04/21 06:24:27     1.158
  @@ -105,6 +105,15 @@
       cp "t/docs/test.html", "t/docs/test.shtml";
   }
   
  +for (qw(.htaccess hooks.txt)) {
  +    my $file = "t/docs/$_";
  +    local *FH;
  +    open FH, ">$file" or
  +      die "can't write test file: $file: $!";
  +    chmod 0666, $file;
  +    close FH;
  +}
  +
   chmod 0644, "t/conf/mod_perl_srm.conf";
   
   mkdir "t/logs", 0777;
  
  
  

Reply via email to