mirror of
https://github.com/nodejs/node.git
synced 2026-10-10 18:59:49 -04:00
test: skip test-vfs-real-provider-watch.js on IBM i
Signed-off-by: Gundepalli Sravani <Gundepalli.Sravani1@ibm.com> PR-URL: https://github.com/nodejs/node/pull/65987 Refs: https://github.com/nodejs/node/issues/52640 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
c081d10d7e
commit
1f6fe2f3bd
2 files changed
+9
No files matched your search
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user