diff --git a/test/parallel/test-child-process-stdio-overlapped.js b/test/parallel/test-child-process-stdio-overlapped.js index 70a6454ff8fc9a..5c48e7ee105792 100644 --- a/test/parallel/test-child-process-stdio-overlapped.js +++ b/test/parallel/test-child-process-stdio-overlapped.js @@ -33,6 +33,10 @@ const exeExtension = process.platform === 'win32' ? '.exe' : ''; const exe = 'overlapped-checker' + exeExtension; const exePath = path.join(path.dirname(process.execPath), exe); +if (!require('fs').existsSync(exePath)) { + common.skip(exe + ' binary is not available'); +} + const child = child_process.spawn(exePath, [], { stdio: ['overlapped', 'pipe', 'pipe'] });