diff --git a/test/parallel/test-child-process-uid-gid.js b/test/parallel/test-child-process-uid-gid.js index 1ab514566cd93d..1ee7661227701e 100644 --- a/test/parallel/test-child-process-uid-gid.js +++ b/test/parallel/test-child-process-uid-gid.js @@ -3,7 +3,7 @@ const common = require('../common'); const assert = require('assert'); const spawn = require('child_process').spawn; -if (process.getuid() === 0) { +if (!common.isWindows && process.getuid() === 0) { common.skip('as this test should not be run as `root`'); return; }