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

Bug #16451 Unit tests vs directory layout
Submitted: 2009-07-18 18:38 UTC
From: doconnor Assigned: alexmerz
Status: Closed Package: Net_IPv6 (version CVS)
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 + 7 = ?

 
 [2009-07-18 18:38 UTC] doconnor (Daniel O'Connor)
Description: ------------ Not compatible with pear wide test suite at the moment. Fixable with: mkdir Net && svn mv IPv6.php Net/ and regenerating you package.xml Test script: --------------- clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$ php tests/AllTests.php Expected result: ---------------- Tests run Actual result: -------------- clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$ php tests/AllTests.php Warning: require_once(Net/IPv6.php): failed to open stream: No such file or directory in /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/NetIPv6Test.php on line 21 Call Stack: 0.0007 66560 1. {main}() /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/AllTests.php:0 0.8026 3982184 2. require_once('/home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/NetIPv6Test.php') /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/AllTests.php:11 Fatal error: require_once(): Failed opening required 'Net/IPv6.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/NetIPv6Test.php on line 21 Call Stack: 0.0007 66560 1. {main}() /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/AllTests.php:0 0.8026 3982184 2. require_once('/home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/NetIPv6Test.php') /home/clockwerx/pear-svn/packages/Net_IPv6/trunk/tests/AllTests.php:11

Comments

 [2009-07-28 05:35 UTC] doconnor (Daniel O'Connor)
Fix by: clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$ svn mkdir Net A Net clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$ svn mv IPv6.php Net/ A Net/IPv6.php D IPv6.php clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$ php tests/AllTests.php PHPUnit 3.3.17 by Sebastian Bergmann. ............................... Time: 0 seconds OK (31 tests, 34 assertions) clockwerx@clockwerx-desktop:~/pear-svn/packages/Net_IPv6/trunk$
 [2010-11-18 08:50 UTC] alexmerz (Alexander Merz)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alexmerz
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/