diff --git a/test/sequential/test-fs-readfile-tostring-fail.js b/test/sequential/test-fs-readfile-tostring-fail.js index 62c855de86..c79e13daeb 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();