Skip to content

Commit c7b6953

Browse files
committed
fixup! watch: escape quotes and backslashes in NODE_OPTIONS
1 parent c177786 commit c7b6953

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎test/sequential/test-watch-mode.mjs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,9 @@ process.on('message', (message) => {
10701070
]) {
10711071
it(`should preserve NODE_OPTIONS values containing ${name} in child process`, {
10721072
// Honoring --title from NODE_OPTIONS is required for this test.
1073-
skip: !!process.config.variables.node_without_node_options,
1073+
// process.title is always an empty string on SunOS, so --title
1074+
// cannot be observed there.
1075+
skip: !!process.config.variables.node_without_node_options || common.isSunOS,
10741076
}, async () => {
10751077
const file = createTmpFile('console.log(JSON.stringify(process.title));');
10761078
const { done, restart } = runInBackground({

0 commit comments

Comments
 (0)