Opened 3 years ago

Closed 3 years ago

#1868 closed Bug (fixed)

Unzip.test.php fails on windows

Reported by: matt Owned by:
Priority: normal Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no


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?

Change History (2)

comment:1 Changed 3 years ago by vipsoft (robocoder)

it should exist (if the assertions before it passed)

comment:2 Changed 3 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [3408]) fixes #1868

Note: See TracTickets for help on using tickets.