diff --git a/test/sequential/test-fs-readfile-tostring-fail.js b/test/sequential/test-fs-readfile-tostring-fail.js index 2eb6ce0732dd70..4f0ae7eb1e192a 100644 --- a/test/sequential/test-fs-readfile-tostring-fail.js +++ b/test/sequential/test-fs-readfile-tostring-fail.js @@ -8,7 +8,10 @@ if (!common.enoughTestMem) const assert = require('assert'); const fs = require('fs'); const path = require('path'); +const cp = require('child_process'); const kStringMaxLength = process.binding('buffer').kStringMaxLength; +if (common.isAIX && (Number(cp.execSync('ulimit -f')) * 512) < kStringMaxLength) + common.skip('intensive toString tests due to file size confinements'); common.refreshTmpDir();