Skip to content

Commit 5cc22ee

Browse files
test: fix test-child-process-exec-cwd
Refs: nodejs#47020 Refs: nodejs/build#3046
1 parent 8200304 commit 5cc22ee

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/parallel/parallel.status

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ test-fs-rmdir-recursive: PASS, FLAKY
1616

1717
# Windows on ARM
1818
[$system==win32 && $arch==arm64]
19-
test-child-process-exec-cwd: SKIP
2019

2120
[$system==linux]
2221
# https://github.com/nodejs/node/issues/39368

test/parallel/test-child-process-exec-cwd.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ if (common.isWindows) {
3535
}
3636

3737
exec(pwdcommand, { cwd: dir }, common.mustSucceed((stdout, stderr) => {
38-
assert(stdout.startsWith(dir));
38+
assert(stdout.toLowerCase().startsWith(dir));
3939
}));

0 commit comments

Comments
 (0)