| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 26785a2 commit d7a1637
20 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -147,7 +147,7 @@ the number of calls. | |||
| 147 | 147 | ||
| 148 | 148 | Checks whether free BSD Jail is true or false. | |
| 149 | 149 | ||
| 150 | - ### isAix | ||
| 150 | + ### isAIX | ||
| 151 | 151 | * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | |
| 152 | 152 | ||
| 153 | 153 | Platform check for Advanced Interactive eXecutive (AIX). | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ exports.PORT = +process.env.NODE_COMMON_PORT || 12346; | |||
| 44 | 44 | exports.isWindows = process.platform === 'win32'; | |
| 45 | 45 | exports.isWOW64 = exports.isWindows && | |
| 46 | 46 | (process.env.PROCESSOR_ARCHITEW6432 !== undefined); | |
| 47 | - exports.isAix = process.platform === 'aix'; | ||
| 47 | + exports.isAIX = process.platform === 'aix'; | ||
| 48 | 48 | exports.isLinuxPPCBE = (process.platform === 'linux') && | |
| 49 | 49 | (process.arch === 'ppc64') && | |
| 50 | 50 | (os.endianness() === 'BE'); | |
@@ -333,7 +333,7 @@ exports.platformTimeout = function(ms) { | |||
| 333 | 333 | if (global.__coverage__) | |
| 334 | 334 | ms = 4 * ms; | |
| 335 | 335 | ||
| 336 | - if (exports.isAix) | ||
| 336 | + if (exports.isAIX) | ||
| 337 | 337 | return 2 * ms; // default localhost speed is slower on AIX | |
| 338 | 338 | ||
| 339 | 339 | if (process.arch !== 'arm') | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | const common = require('../common'); | |
| 6 | 6 | const assert = require('assert'); | |
| 7 | 7 | ||
| 8 | - if (common.isSunOS || common.isWindows || common.isAix) { | ||
| 8 | + if (common.isSunOS || common.isWindows || common.isAIX) { | ||
| 9 | 9 | // The current working directory cannot be removed on these platforms. | |
| 10 | 10 | // Change this to common.skip() when this is no longer a known issue test. | |
| 11 | 11 | assert.fail('cannot rmdir current working directory'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | 3 | // Fails with EINVAL on SmartOS, EBUSY on Windows, EBUSY on AIX. | |
| 4 | - if (common.isSunOS || common.isWindows || common.isAix) | ||
| 4 | + if (common.isSunOS || common.isWindows || common.isAIX) | ||
| 5 | 5 | common.skip('cannot rmdir current working directory'); | |
| 6 | 6 | ||
| 7 | 7 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | 3 | // Fails with EINVAL on SmartOS, EBUSY on Windows, EBUSY on AIX. | |
| 4 | - if (common.isSunOS || common.isWindows || common.isAix) | ||
| 4 | + if (common.isSunOS || common.isWindows || common.isAIX) | ||
| 5 | 5 | common.skip('cannot rmdir current working directory'); | |
| 6 | 6 | ||
| 7 | 7 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,7 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | 3 | // Fails with EINVAL on SmartOS, EBUSY on Windows, EBUSY on AIX. | |
| 4 | - if (common.isSunOS || common.isWindows || common.isAix) | ||
| 4 | + if (common.isSunOS || common.isWindows || common.isAIX) | ||
| 5 | 5 | common.skip('cannot rmdir current working directory'); | |
| 6 | 6 | ||
| 7 | 7 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ const common = require('../common'); | |||
| 3 | 3 | ||
| 4 | 4 | // simulate `cat readfile.js | node readfile.js` | |
| 5 | 5 | ||
| 6 | - if (common.isWindows || common.isAix) | ||
| 6 | + if (common.isWindows || common.isAIX) | ||
| 7 | 7 | common.skip(`No /dev/stdin on ${process.platform}.`); | |
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ const common = require('../common'); | |||
| 24 | 24 | ||
| 25 | 25 | // simulate `cat readfile.js | node readfile.js` | |
| 26 | 26 | ||
| 27 | - if (common.isWindows || common.isAix) | ||
| 27 | + if (common.isWindows || common.isAIX) | ||
| 28 | 28 | common.skip(`No /dev/stdin on ${process.platform}.`); | |
| 29 | 29 | ||
| 30 | 30 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ const common = require('../common'); | |||
| 3 | 3 | ||
| 4 | 4 | // simulate `cat readfile.js | node readfile.js` | |
| 5 | 5 | ||
| 6 | - if (common.isWindows || common.isAix) | ||
| 6 | + if (common.isWindows || common.isAIX) | ||
| 7 | 7 | common.skip(`No /dev/stdin on ${process.platform}.`); | |
| 8 | 8 | ||
| 9 | 9 | const assert = require('assert'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | 4 | ||
| 5 | - if (common.isWindows || common.isAix) | ||
| 5 | + if (common.isWindows || common.isAIX) | ||
| 6 | 6 | common.skip(`No /dev/stdin on ${process.platform}.`); | |
| 7 | 7 | ||
| 8 | 8 | const assert = require('assert'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments