From 77d8446c22223ee45c810383797335f5f1c3b5bc Mon Sep 17 00:00:00 2001 From: Gundepalli Sravani Date: Fri, 11 Sep 2026 18:24:11 +0530 Subject: [PATCH] test: skip test-vfs-real-provider-watch.js on IBM i Signed-off-by: Gundepalli Sravani --- benchmark/fs/bench-watch-recursive.js | 5 +++++ test/parallel/test-vfs-real-provider-watch.js | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/benchmark/fs/bench-watch-recursive.js b/benchmark/fs/bench-watch-recursive.js index 45ed0871718e..9fdb81d83043 100644 --- a/benchmark/fs/bench-watch-recursive.js +++ b/benchmark/fs/bench-watch-recursive.js @@ -4,6 +4,11 @@ // On Linux and other platforms without a native recursive watcher this is // implemented in JavaScript on top of per-directory watchers. +if (process.platform === 'os400') { + console.log('Skipping: IBMi does not support `fs.watch()`'); + process.exit(0); +} + const common = require('../common'); const fs = require('fs'); const path = require('path'); diff --git a/test/parallel/test-vfs-real-provider-watch.js b/test/parallel/test-vfs-real-provider-watch.js index f4218fa408ee..056744c5fd0c 100644 --- a/test/parallel/test-vfs-real-provider-watch.js +++ b/test/parallel/test-vfs-real-provider-watch.js @@ -4,6 +4,10 @@ // watch / promises.watch / watchFile through RealFSProvider. const common = require('../common'); + +if (common.isIBMi) + common.skip('IBMi does not support `fs.watch()`'); + const tmpdir = require('../common/tmpdir'); const assert = require('assert'); const fs = require('fs');