test: use common.PIPE in fs.cp socket tests · nodejs/node@1f56017 · GitHub
Skip to content

Commit 1f56017

Browse files
test: use common.PIPE in fs.cp socket tests
The socket was created under a nested tmpdir using an absolute path, which can exceed the 104-byte sun_path limit on macOS when the checkout lives in a long directory. common.PIPE uses a path relative to the cwd, as the other pipe tests do. Fixes: #66324 Assisted-by: a closed-source coding agent Signed-off-by: Maksim Romanov <romanov.maxim.98@gmail.com>
1 parent d35c89e commit 1f56017

2 files changed

Lines changed: 6 additions & 14 deletions

File tree

‎test/parallel/test-fs-cp-async-socket.mjs‎

Lines changed: 3 additions & 7 deletions

‎test/parallel/test-fs-cp-sync-copy-socket-error.mjs‎

Lines changed: 3 additions & 7 deletions

0 commit comments

Comments
 (0)