test: use unusual chars in the path to ensure our tests are robust #63842
Annotations
2 errors and 1 notice
Re-run test in a folder whose name contains unusual chars:
test/sequential/test-fs-path-dir.js#L1
--- stderr ---
/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js:43
throw e;
^
Error: ENOENT: no such file or directory, open '/home/runner/work/node/node/dir with $unusual"chars'
at Object.openSync (node:fs:568:18)
at readFileSync (node:fs:452:35)
at checkSyncFn (/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js:40:7)
at /home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js:100:19
at FSReqCallback.oncomplete (node:fs:188:23) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/runner/work/node/node/dir with $unusual"chars'
}
Node.js v24.0.0-pre
--- stdout ---
failed testing sync file:///home/runner/work/node/node/dir%20with%20$unusual%22chars?%27%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6`/test/.tmp.3926/file1 readFileSync must succeed Error: ENOENT: no such file or directory, open '/home/runner/work/node/node/dir with $unusual"chars'
at Object.openSync (node:fs:568:18)
at readFileSync (node:fs:452:35)
at checkSyncFn (/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js:40:7)
at /home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js:100:19
at FSReqCallback.oncomplete (node:fs:188:23) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/runner/work/node/node/dir with $unusual"chars'
}
Command: out/Release/node --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout "/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/sequential/test-fs-path-dir.js"
|
Re-run test in a folder whose name contains unusual chars
Process completed with exit code 1.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading