GeezerVison is showing github.com — test: add known_issues test for #13683 · nodejs/node@02916ed
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/known_issues/known_issues.status +16Lines changed: 16 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,16 +15,32 @@ test-vm-timeout-escape-queuemicrotask: SKIP |
15 | 15 | [$system==win32] |
16 | 16 |
|
17 | 17 | [$system==linux] |
| 18 | +# Windows-specific test |
| 19 | +test-path-posix-relative-on-windows: SKIP |
18 | 20 |
|
19 | 21 | [$system==macos] |
| 22 | +# Windows-specific test |
| 23 | +test-path-posix-relative-on-windows: SKIP |
20 | 24 |
|
21 | 25 | [$system==solaris] |
| 26 | +# Windows-specific test |
| 27 | +test-path-posix-relative-on-windows: SKIP |
22 | 28 |
|
23 | 29 | [$system==freebsd] |
| 30 | +# Windows-specific test |
| 31 | +test-path-posix-relative-on-windows: SKIP |
24 | 32 |
|
25 | 33 | [$system==aix] |
| 34 | +# Windows-specific test |
| 35 | +test-path-posix-relative-on-windows: SKIP |
26 | 36 |
|
27 | 37 | [$arch==arm] |
28 | 38 | # The Raspberry Pis are too slow to run this test. |
29 | 39 | # See https://github.com/nodejs/build/issues/2227#issuecomment-608334574 |
30 | 40 | test-crypto-authenticated-stream: SKIP |
| 41 | +# Windows-specific test |
| 42 | +test-path-posix-relative-on-windows: SKIP |
| 43 | + |
| 44 | +[$system==ibmi] |
| 45 | +# Windows-specific test |
| 46 | +test-path-posix-relative-on-windows: SKIP |
Collapse file
Copy file name to clipboard +10Lines changed: 10 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +'use strict'; |
| 2 | + |
| 3 | +require('../common'); |
| 4 | +const assert = require('assert'); |
| 5 | +const path = require('path'); |
| 6 | + |
| 7 | +// Refs: https://github.com/nodejs/node/issues/13683 |
| 8 | + |
| 9 | +const relativePath = path.posix.relative('a/b/c', '../../x'); |
| 10 | +assert.match(relativePath, /^(\.\.\/){3,5}x$/); |