-
Bug
-
Resolution: Fixed
-
Major
-
3.9.4, 3.10.1, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70864-master-zip_packer_windows -
It seems that something new has recently landed and it's causing windows unit tests to, consistently, fail.
Link: https://travis-ci.com/github/stronk7/moodle/jobs/482318828
Error:
There was 1 error:
|
|
1) core_files_zip_packer_testcase::test_zip_entry_path_having_folder_ending_with_dot
|
ZipArchive::extractTo(C:\Users\travis\roots\phpunitdata/localcache\dfb17e68-bf52-49d6-a8fc-4fa3d2bc002d\5e4ea5a9-6314-4ae1-b2dc-e34954fcfc62/target/README.): failed to open stream: Permission denied
|
|
C:\Users\travis\build\stronk7\moodle\lib\filestorage\zip_archive.php:276
|
C:\Users\travis\build\stronk7\moodle\lib\filestorage\zip_packer.php:371
|
C:\Users\travis\build\stronk7\moodle\lib\filestorage\tests\zip_packer_test.php:295
|
C:\Users\travis\build\stronk7\moodle\lib\phpunit\classes\advanced_testcase.php:80
|
To re-run:
|
vendor/bin/phpunit --verbose "core_files_zip_packer_testcase" lib/filestorage/tests/zip_packer_test.php
|
This may be related with the changes accepted this week @ MDL-70631