test: fix test-child-process-exec-cwd

Refs: https://github.com/nodejs/node/pull/47020
Refs: https://github.com/nodejs/build/issues/3046
PR-URL: https://github.com/nodejs/node/pull/47235
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
This commit is contained in:
Stefan Stojanovic authored and GitHub committed 2023-03-27 11:20:08 +00:00
1 parent f84ff93d96
commit 13767a4675
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -16,7 +16,6 @@ test-fs-rmdir-recursive: PASS, FLAKY
# Windows on ARM
[$system==win32 && $arch==arm64]
test-child-process-exec-cwd: SKIP
[$system==linux]
# https://github.com/nodejs/node/issues/39368
+1 -1
View File
@@ -35,5 +35,5 @@ if (common.isWindows) {
}
exec(pwdcommand, { cwd: dir }, common.mustSucceed((stdout, stderr) => {
assert(stdout.startsWith(dir));
assert(stdout.toLowerCase().startsWith(dir));
}));