Thanks Geoffrey. I tried the 2nd tips, and it works!

One more question, how to simulate cookie setting in the testing cases?


On 22-Mar-06, at 3:08 PM, Geoffrey Young wrote:


[warning] cleaning up the old config
Use of uninitialized value in open at /usr/local/lib/perl/5.8.7/
Apache/TestServer.pm line 315, <DATA> line 2.
Use of uninitialized value in open at /usr/local/lib/perl/5.8.7/
Apache/TestServer.pm line 315, <> line 512.
make: *** [test_clean] Error 2

I'm newby Linux user. I've googled the error message, but found
nothing. Could someone give me hint as what went wrong?

yeah.

unfortunately, that demo includes some generated files that it shouldn't. now, ordinarily that wouldn't be a problem, except that a feature was added to Apache-Test 1.28 that actually implodes like this if it encounters an old
Apache-Test configuration file.

the solutions you have before you are this

o checkout Apache-Test from subversion and 1.29-dev where the problem has
been fixed.
    $ svn checkout \
        http://svn.apache.org/repos/asf/perl/Apache-Test/trunk/ \
        Apache-Test

  o delete the autogenerated files from the t/conf directory
    $ for i in test-more.php extra.conf apache* php.ini httpd.conf; \
        do rm t/conf/$i; done

the latter solution is probably easier, but either solution should fix your
issue.

in the meanwhile, I'll work with chris to update the tarball so nobody else
has this problem.

have fun testing your php code :)

--Geoff


Reply via email to