Skip to content

Commit

Permalink
test: fix test-child-process-exec-cwd
Browse files Browse the repository at this point in the history
Refs: #47020
Refs: nodejs/build#3046
PR-URL: #47235
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
  • Loading branch information
StefanStojanovic authored and richardlau committed Mar 28, 2023
1 parent 4fdaab8 commit a84c2c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-exec-cwd.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ if (common.isWindows) {
}

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

0 comments on commit a84c2c5

Please sign in to comment.