Skip to content

Commit 6772aa6

Browse files
StefanStojanovicRafaelGSS
authored andcommitted
test: fix test-child-process-exec-cwd
Refs: #47020 Refs: nodejs/build#3046 PR-URL: #47235 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
1 parent 41a69e7 commit 6772aa6

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)