Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Unzip.test.php fails on windows #1868

Closed
mattab opened this Issue · 2 comments

2 participants

Matthieu Aubry Anthon Pang
Matthieu Aubry
Owner

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?

Anthon Pang
Collaborator

it should exist (if the assertions before it passed)

Anthon Pang
Collaborator

(In [3408]) fixes #1868

Matthieu Aubry mattab added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.