Follow symlinks properly
1 unresolved thread
1 unresolved thread
Closes #3482283
Merge request reports
Activity
- Resolved by Lee Rowlands
- Resolved by Lee Rowlands
- Resolved by Lee Rowlands
- Resolved by Lee Rowlands
16 17 /** 18 * VFS does not and can not support symlinks. 19 */ 20 protected function setUpFilesystem(): void {} 21 22 /** 23 * Test that symlinks are properly followed. 24 */ 25 public function testSymlink(): void { 26 mkdir($this->siteDirectory); 27 28 foreach (scandir("core/modules/user/tests/modules/user_hooks_test") as $item) { 29 $target = "$this->siteDirectory/$item"; 30 if (!file_exists($target)) { 31 symlink(realpath("core/modules/user/tests/modules/user_hooks_test/$item"), $target); Were we expecting the test-only job to fail here? https://git.drupalcode.org/issue/drupal-3482283/-/jobs/3116042 - it appears that it did not
added 1 commit
- a880b66b - Ensure the test fails if symlinks are not followed
added 4 commits
-
5df762b6...f3b0118d - 3 commits from branch
project:11.x
- 333d9138 - Merge branch '11.x' into 3482283-symlinking-a-module
-
5df762b6...f3b0118d - 3 commits from branch
added 11 commits
- 469dbffd - 1 earlier commit
- 4a1ee772 - PHPSTAN AND PHPCS
- 5848718e - Remove test
- d1243d20 - Test symlinked files
- 2a344735 - Swapped message
- 88713da5 - PHPstan and CS
- f2bfb8f0 - Fix codesniffing
- b13cc0f4 - Postive test for symlink
- 76e5bc98 - Remove negative test
- 833310af - Ensure the test fails if symlinks are not followed
- 712ae364 - Fix PHPStan baseline
Toggle commit list
Please register or sign in to reply