path: fix posix.relative() on Windows · nodejs/node@b0d5e03 · GitHub
Skip to content

Commit b0d5e03

Browse files
committed
path: fix posix.relative() on Windows
Fixes: #13683 PR-URL: #37747 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent e46c680 commit b0d5e03

4 files changed

Lines changed: 25 additions & 17 deletions

File tree

lib/path.js

Lines changed: 15 additions & 1 deletion

test/known_issues/known_issues.status

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,18 @@ test-vm-timeout-escape-queuemicrotask: SKIP
1515
[$system==win32]
1616

1717
[$system==linux]
18-
# Windows-specific test
19-
test-path-posix-relative-on-windows: SKIP
2018

2119
[$system==macos]
22-
# Windows-specific test
23-
test-path-posix-relative-on-windows: SKIP
2420

2521
[$system==solaris]
26-
# Windows-specific test
27-
test-path-posix-relative-on-windows: SKIP
2822

2923
[$system==freebsd]
30-
# Windows-specific test
31-
test-path-posix-relative-on-windows: SKIP
3224

3325
[$system==aix]
34-
# Windows-specific test
35-
test-path-posix-relative-on-windows: SKIP
3626

3727
[$arch==arm]
3828
# The Raspberry Pis are too slow to run this test.
3929
# See https://github.com/nodejs/build/issues/2227#issuecomment-608334574
4030
test-crypto-authenticated-stream: SKIP
41-
# Windows-specific test
42-
test-path-posix-relative-on-windows: SKIP
4331

4432
[$system==ibmi]
45-
# Windows-specific test
46-
test-path-posix-relative-on-windows: SKIP

test/known_issues/test-path-posix-relative-on-windows.js renamed to test/parallel/test-path-posix-relative-on-windows.js

File renamed without changes.

test/parallel/test-path-resolve.js

Lines changed: 10 additions & 2 deletions

0 commit comments

Comments
 (0)