Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.1

Bug #10894 Problem running tests
Submitted: 2007-04-30 15:51 UTC
From: remicollet Assigned: aharvey
Status: Closed Package: DB (version 1.7.11)
PHP Version: 5.2.1 OS: Linux (Fedora)
Roadmaps: 1.7.12    
Subscription  


 [2007-04-30 15:51 UTC] remicollet (Remi Collet)
Description: ------------ I'm working on packaging this extension for Fedora Extras and EPEL. File tests/driver/droptable.inc is missing in DB-1.7.11.tar.gz. Adding this file from CVS solve the issue. Running with oci8, all 19 tests succeed. With mysql, mysqli and sqlite, 10errormap.phpt fails. $ cat 10errormap.diff 016+ DB_ERROR_DIVZERO: 017+ UNEXPECTED OUTCOME... expected error but it wasn't 016- DB_ERROR_DIVZERO: I think it's not an DB error, just a test error ?

Comments

 [2007-05-23 16:57 UTC] aharvey (Adam Harvey)
It is just a test error -- I've been meaning to fix it for a while, but haven't gotten around to it. I'll sort it out before 1.7.12 is released.
 [2007-06-29 12:57 UTC] aharvey (Adam Harvey)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I've updated the DIVZERO tests to accurately reflect which backends return errors for divisions by zero and added droptable.inc to package.xml (sorry, oversight on my part).