Skip to content

Commit

Permalink
test: add known_issues test for nodejs#13683
Browse files Browse the repository at this point in the history
Add a known_issues test for a known Windows issue.

Refs: nodejs#13683
  • Loading branch information
Trott committed Mar 13, 2021
1 parent 55d4570 commit d2bacca
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/known_issues/known_issues.status
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,28 @@ test-vm-timeout-escape-queuemicrotask: SKIP
[$system==win32]

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

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

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

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

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

[$arch==arm]
# The Raspberry Pis are too slow to run this test.
# See https://github.com/nodejs/build/issues/2227#issuecomment-608334574
test-crypto-authenticated-stream: SKIP
# Windows-specific test
test-path-posix-relative-on-windows: SKIP
9 changes: 9 additions & 0 deletions test/known_issues/test-path-posix-relative-on-windows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use strict';

const common = require('../common');
const assert = require('assert');
const path = require('path');

// Refs: https://github.com/nodejs/node/issues/13683

assert.strictEqual(path.posix.relative('a/b/c', '../../x'), '../../../../../x');

0 comments on commit d2bacca

Please sign in to comment.