Skip to content
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

Unzip.test.php fails on windows #1868

Closed
mattab opened this issue Dec 5, 2010 · 2 comments
Closed

Unzip.test.php fails on windows #1868

mattab opened this issue Dec 5, 2010 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Dec 5, 2010

Currently on trunk, a unit test fails on Windows

Fail: D:\piwik\svn\trunk/tests/core/Unzip.test.php -> Test_Piwik_Unzip -> test_relativePath -> at [D:\piwik\svn\trunk\tests\core\Unzip.test.php line 42]
Exception: D:\piwik\svn\trunk/tests/core/Unzip.test.php -> Test_Piwik_Unzip -> test_relativePath -> Unexpected PHP error [unlink(D:\piwik\svn\trunk/tmp/latest/relative.txt) [<a href='function.unlink'>function.unlink</a>]: No such file or directory] severity [E_WARNING] in [D:\piwik\svn\trunk\tests\core\Unzip.test.php line 45]

Unlink fails because the file doesn't exist, but it seems the file should exist. Maybe it shows a real bug in the Unzip mechanism on windows?

@robocoder
Copy link
Contributor

it should exist (if the assertions before it passed)

@robocoder
Copy link
Contributor

(In [3408]) fixes #1868

@mattab mattab added this to the Piwik 1.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants