Skip to content

[Filesystem] missing readlink breaking FilesystemTest class on Windows #5234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2012

Conversation

bdmu
Copy link
Contributor

@bdmu bdmu commented Aug 10, 2012

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #5233
Todo:
License of the code: MIT
Documentation PR:

fix for windows plateform

$file == 'C:\Users\USERNA~1...' before touch
$file == 'C:\Users\Username... after the touch and readlink so it can pass following assertEquals

@travisbot
Copy link

This pull request fails (merged 64ecaf81 into 31536c3).

@travisbot
Copy link

This pull request passes (merged e11c6f2 into 31536c3).

@bdmu
Copy link
Contributor Author

bdmu commented Aug 13, 2012

Hello,

Another solution may be (need to test it) to add
$this->workspace = realpath($this->workspace);
line 36, after the
mkdir($this->workspace, 0777, true);
in the setup method

Regards,
Christophe

@travisbot
Copy link

This pull request passes (merged defc51ad into 7bc6d6d).

@travisbot
Copy link

This pull request passes (merged afdd6aab into 7bc6d6d).

@travisbot
Copy link

This pull request passes (merged 47b8538 into 7bc6d6d).

fabpot added a commit that referenced this pull request Aug 21, 2012
Commits
-------

47b8538 [Filesystem] missing realpath breaking FilesystemTest class on Windows (one line of code change)

Discussion
----------

[Filesystem] missing readlink breaking FilesystemTest class on Windows

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #5233
Todo:
License of the code: MIT
Documentation PR:

fix for windows plateform

$file == 'C:\Users\USERNA~1\...' before touch
$file == 'C:\Users\Username\... after the touch and readlink so it can pass following assertEquals

---------------------------------------------------------------------------

by bdmu at 2012-08-13T05:35:07Z

Hello,

Another solution may be (need to test it) to add
    $this->workspace = realpath($this->workspace);
line 36, after the
    mkdir($this->workspace, 0777, true);
in the setup method

Regards,
Christophe
@fabpot fabpot merged commit 47b8538 into symfony:master Aug 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants