Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#43508 closed defect (bug) (fixed)

Skip symlinked theme file tests if the links could not be created

Reported by: SergeyBiryukov Owned by: SergeyBiryukov
Priority: normal Milestone: 5.0
Component: Themes Version: 4.7
Severity: normal Keywords: commit
Cc: Focuses: template

Description

The tests added in [38578] fail on Windows if there's not enough permissions to create symlinks:

Warning: symlink(): Cannot create symlink, error code(1314)

I guess they should be skipped if symlinks could not be created.

Change History (6)

#1 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 42812:

Tests: Skip symlinked theme file tests if the links could not be created.

Fixes #43508.

#2 @SergeyBiryukov
9 years ago

  • Version4.7

#3 @SergeyBiryukov
9 years ago

In 42819:

Tests: Skip symlinked theme file tests if symlink() is not available, e.g. in PHP 5.2.x on Windows.

See #43508.

#4 @SergeyBiryukov
8 years ago

  • Resolution fixed
  • Status closedreopened

Reopening for 5.0 or 5.0.1 consideration.

#5 @pento
8 years ago

  • Keywords commit added

👍🏻 on committing these to 5.0.

#6 @pento
8 years ago

  • Resolutionfixed
  • Status reopenedclosed

In 43866:

Tests: Skip symlinked theme file tests if the links could not be created, or if symlink() is not available

Merges [42812,42819] to the 5.0 branch.

Props SergeyBiryukov.
Fixes #43508.

Note: See TracTickets for help on using tickets.