diff --git a/src/vs/base/test/node/extfs/extfs.test.ts b/src/vs/base/test/node/extfs/extfs.test.ts index 17d020743e5987a970d7381ab1c2537e57cdde36..bb01309a0255f0a0213ce19cb02f7a2cb2c8ca96 100644 --- a/src/vs/base/test/node/extfs/extfs.test.ts +++ b/src/vs/base/test/node/extfs/extfs.test.ts @@ -16,7 +16,7 @@ import strings = require('vs/base/common/strings'); import extfs = require('vs/base/node/extfs'); import { onError } from 'vs/base/test/common/utils'; import { Readable } from 'stream'; -import { isLinux } from 'vs/base/common/platform'; +import { isLinux, isWindows } from 'vs/base/common/platform'; const ignore = () => { }; @@ -75,6 +75,11 @@ suite('Extfs', () => { }); test('stat link', function (done: () => void) { + if (isWindows) { + // Symlinks are not the same on win, and we can not create them programitically without admin privileges + return done(); + } + const id1 = uuid.generateUuid(); const parentDir = path.join(os.tmpdir(), 'vsctests', id1); const directory = path.join(parentDir, 'extfs', id1);