Re: [RELEASE CANDIDATE] Apache-Test-1.34 RC1

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl,gmane.comp.apache.httpd.test.devel
Message-ID <[email protected]>
On Wednesday, December 15, 2010 14:36:41 Mario Brandt wrote:
> t\log_watch.t ............ Use of uninitialized value $fn in unlink at
> t\log_watch.t line 16.

Here are the lines that course the failure:

  my $fn=t_catfile(Apache::Test::vars->{t_logs}, 'watch');
  unlink $fn;

You see $fn at unlink-time is the output of t_catfile without modifications. 
How can that be undef at this point?

I don't have a windows development environment. But on Linux even if vars-
>{t_logs} is undef t_catfile won't return undef:

  $ perl -MApache::TestUtil=t_catfile -le 'print t_catfile undef, "watch"'
  /watch

I have no clue what is wrong here.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.