You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.equal(awaitreadFile(join(stagedPlugin,"runtime-link.php"),"utf8"),"<?php return 'runtime';\n","a contained symlink is dereferenced into the staged mount")
94
100
assert.equal(awaitreadFile(join(stagedPlugin,"runtime-chain.php"),"utf8"),"<?php return 'runtime';\n","a contained symlink chain is dereferenced into the staged mount")
101
+
assert.equal(awaitreadFile(join(stagedPlugin,"package-a","vendor","package-b","package.php"),"utf8"),"<?php return 'package-b';\n","a contained directory symlink is dereferenced into the staged mount")
102
+
awaitassert.rejects(access(join(stagedPlugin,"package-a","vendor","package-b","vendor","package-a")),/ENOENT/,"a directory cycle stops at the repeated real directory")
assert.equal(serializedDiagnostics.includes(root),false,"diagnostics do not expose absolute host paths")
109
120
assert.equal(serializedDiagnostics.includes("../../../.github/build.sh"),false,"diagnostics do not expose dangling link targets")
110
121
assert.equal(serializedDiagnostics.includes("../tracked-symlink-plugin-private/secret.php"),false,"diagnostics do not expose escaping link targets")
111
-
assert.deepEqual(staging.phaseResult.metadata,{mounts: 1,skipped: 5,diagnostics: staging.diagnostics},"staging evidence includes the skip diagnostics")
122
+
assert.deepEqual(staging.phaseResult.metadata,{mounts: 1,skipped: 7,diagnostics: staging.diagnostics},"staging evidence includes the skip diagnostics")
112
123
awaitstaging[Symbol.asyncDispose]()
113
124
assert.deepEqual(awaitreadonlyStagingDirectories(),stagingDirectoriesBefore,"successful staging cleanup removes its temporary root")
0 commit comments