[wp-trac] [WordPress Trac] #44605: unit tests that create tmp files should use sys_get_temp_dir() instead of hardcoding /tmp/

WordPress Trac noreply at wordpress.org
Wed Jul 18 23:29:48 UTC 2018


#44605: unit tests that create tmp files should use sys_get_temp_dir() instead of
hardcoding /tmp/
------------------------------+------------------------
 Reporter:  pbiron            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  duplicate
 Keywords:                    |     Focuses:
------------------------------+------------------------

Comment (by pbiron):

 Replying to [comment:2 birgire]:
 > Good catches @pbiron but it looks like this belongs to #39975
 >
 > Maybe you could refresh the latest patch over there if needed?

 All the cases my patch fixes are also fixed in the latest patch on #39975.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44605#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list