httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/t/modules dav.t
Date Fri, 07 Dec 2001 21:39:37 GMT
dougm       01/12/07 13:39:37

  Modified:    perl-framework/t/modules dav.t
  Log:
  change getpwnam/chown to Apache::TestUtil::chown
  
  Revision  Changes    Path
  1.5       +3 -2      httpd-test/perl-framework/t/modules/dav.t
  
  Index: dav.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/modules/dav.t,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- dav.t	2001/11/12 07:18:47	1.4
  +++ dav.t	2001/12/07 21:39:37	1.5
  @@ -3,6 +3,7 @@
   
   use Apache::Test;
   use Apache::TestRequest;
  +use Apache::TestUtil;
   
   ##
   ## mod_dav tests
  @@ -34,8 +35,8 @@
   ## make sure its clean before we begin ##
   unlink "htdocs$uri" if -e "htdocs$uri";
   mkdir "htdocs/$dir", oct('755') unless -e "htdocs/$dir";
  -my ($login,$pass,$uid,$gid) = getpwnam($vars->{user});
  -chown $uid, $gid, "htdocs/$dir";
  +
  +Apache::TestUtil::chown("htdocs/$dir");
   
   ## set up resource and lock it ##
   my $resource = $dav->new_resource( -uri => "http://$server$uri");
  
  
  

Mime
View raw message