Skip to content

Commit 6fd8d6e

Browse files
committed
fixup! vfs: do not reuse the path of a loaded memfd image
1 parent c639f8a commit 6fd8d6e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/ffi/test-ffi-vfs.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test('closed library images give their fd numbers back', { skip: !common.isLinux
9696
`;
9797
const { status, stderr } = spawnSync('/bin/sh', [
9898
'-c', `ulimit -n ${limit} && exec "$0" "$@"`,
99-
process.execPath, '--disable-warning=ExperimentalWarning', '-e', child,
99+
process.execPath, '--experimental-vfs', '--disable-warning=ExperimentalWarning', '-e', child,
100100
], {
101101
encoding: 'utf8',
102102
env: { ...process.env, TMPDIR: path.join(os.tmpdir(), 'no-such-directory') },

‎test/parallel/test-vfs-addon-sequence.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if (common.isLinux) {
5454
`;
5555
const { status, stderr } = spawnSync('/bin/sh', [
5656
'-c', `ulimit -n ${limit} && exec "$0" "$@"`,
57-
process.execPath, '--disable-warning=ExperimentalWarning', '-e', child,
57+
process.execPath, '--experimental-vfs', '--disable-warning=ExperimentalWarning', '-e', child,
5858
], { encoding: 'utf8' });
5959
assert.strictEqual(status, 0, stderr);
6060
}

0 commit comments

Comments
 (0)