Re: 1.4.10RC1, prerelease tests

From: Date: Tue, 20 Jun 2006 02:43:03 +0000
Subject: Re: 1.4.10RC1, prerelease tests
References: 1 2  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-4839@lists.php.net to get a copy of this message
On Mon, 19 Jun 2006 15:34:16 -0600 greg@chiaraquartet.net (Greg Beaver) wrote: > I think it is best if we split up fixing these tests between us. I > can take the PEAR_Installer and PEAR_Downloader_Package tests, could > you do the PEAR_Downloader and the PEAR_Command_* tests? > > Greg Ok, I used an older revision, that fixes the leak problem for now :) I ran the tests and checked a couple of them. I'm not sure about their correctness. The log is not always called in the pear methods, for example in Downloader::getDownload(). There is no reason to call it as nothing is done if the download_dir exists. But some tests expect it to be created, like in PEAR_Installer/test_install_simplelocalpackage: 004+ Expecting: 005+ array ( 006+ 0 => 007+ array ( 008+ 0 => 3, 009+ 1 => '+ tmp dir created at /tmp/pear/cache', 010+ ), 011+ ) 012+ Received: 013+ array ( 014+ ) I will dig into them tomorrow and fix what needs to be fixed. By the way, are your space and new line keys broken? If not, hit them more, it cannot hurt :-) (while reading more carefully the tests sources ;) Cheers, -- Pierre

« previous php.pear.core (#4839) next »