[wp-trac] [WordPress Trac] #39975: Remove direct calls to '/tmp/' in Unit Tests

WordPress Trac noreply at wordpress.org
Tue Jul 14 01:28:33 UTC 2020


#39975: Remove direct calls to '/tmp/' in Unit Tests
-------------------------------------+-----------------------------
 Reporter:  joemcgill                |       Owner:  SergeyBiryukov
     Type:  task (blessed)           |      Status:  closed
 Priority:  normal                   |   Milestone:  5.5
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48464" 48464]:
 {{{
 #!CommitTicketReference repository="" revision="48464"
 Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`.

 This allows more tests to pass on Windows.

 Props danielhuesken, DJPaul, christophherr, joemcgill, netweb,
 davidbaumwald, SergeyBiryukov.
 Fixes #40856, #39975.
 }}}

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


More information about the wp-trac mailing list