[wp-trac] [WordPress Trac] #11867: Increase Cross-Plattform portability of the Testsuite

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 11 23:09:48 UTC 2010


#11867: Increase Cross-Plattform portability of the Testsuite
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  westi             
     Type:  defect (bug)  |      Status:  accepted          
 Priority:  normal        |   Milestone:  WordPress.org site
Component:  Unit Tests    |     Version:                    
 Severity:  normal        |    Keywords:  has-patch tested  
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:2 dd32]:
 > {{{
 > -ini_set('include_path', ini_get('include_path') . ':'.ABSPATH.'/wp-
 includes');
 > +ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR .
 ABSPATH . '/wp-includes');
 > }}}
 >
 > That'll break it. The seperator there isnt a PATH_SEPERATOR, its the
 seperation string in the include path, PHP uses : from memory, as that
 shows.

 I think you're mixing PATH_SEPERATOR and DIRECTORY_SEPERATOR.
 PATH_SEPERATOR does not break anything and has been made to seperade paths
 in the include_path setting cross plattform.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11867#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list