Skip to content

Commit fb37922

Browse files
LipperZackTrott
authored andcommitted
test: change isAix to isAIX
This makes the naming more consistent with existing properties like isFreeBSD where the capitalization of the property name is consistent with the conventional styling of the operating system. PR-URL: #14263 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
1 parent 5d3609d commit fb37922

20 files changed

+22
-22
lines changed

test/common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ the number of calls.
155155

156156
Checks whether free BSD Jail is true or false.
157157

158-
### isAix
158+
### isAIX
159159
* return [&lt;Boolean>]
160160

161161
Platform check for Advanced Interactive eXecutive (AIX).

test/common/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
4343
exports.isWindows = process.platform === 'win32';
4444
exports.isWOW64 = exports.isWindows &&
4545
(process.env.PROCESSOR_ARCHITEW6432 !== undefined);
46-
exports.isAix = process.platform === 'aix';
46+
exports.isAIX = process.platform === 'aix';
4747
exports.isLinuxPPCBE = (process.platform === 'linux') &&
4848
(process.arch === 'ppc64') &&
4949
(os.endianness() === 'BE');
@@ -330,7 +330,7 @@ exports.platformTimeout = function(ms) {
330330
if (global.__coverage__)
331331
ms = 4 * ms;
332332

333-
if (exports.isAix)
333+
if (exports.isAIX)
334334
return 2 * ms; // default localhost speed is slower on AIX
335335

336336
if (process.arch !== 'arm')

test/known_issues/test-cwd-enoent-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const common = require('../common');
66
const assert = require('assert');
77

8-
if (common.isSunOS || common.isWindows || common.isAix) {
8+
if (common.isSunOS || common.isWindows || common.isAIX) {
99
// The current working directory cannot be removed on these platforms.
1010
// Change this to common.skip() when this is no longer a known issue test.
1111
assert.fail('cannot rmdir current working directory');

test/parallel/test-cwd-enoent-preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const common = require('../common');
33
// 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)
55
common.skip('cannot rmdir current working directory');
66

77
const assert = require('assert');

test/parallel/test-cwd-enoent-repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const common = require('../common');
33
// 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)
55
common.skip('cannot rmdir current working directory');
66

77
const assert = require('assert');

test/parallel/test-cwd-enoent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const common = require('../common');
33
// 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)
55
common.skip('cannot rmdir current working directory');
66

77
const assert = require('assert');

test/parallel/test-fs-readfile-pipe-large.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common');
33

44
// simulate `cat readfile.js | node readfile.js`
55

6-
if (common.isWindows || common.isAix)
6+
if (common.isWindows || common.isAIX)
77
common.skip(`No /dev/stdin on ${process.platform}.`);
88

99
const assert = require('assert');

test/parallel/test-fs-readfile-pipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const common = require('../common');
2424

2525
// simulate `cat readfile.js | node readfile.js`
2626

27-
if (common.isWindows || common.isAix)
27+
if (common.isWindows || common.isAIX)
2828
common.skip(`No /dev/stdin on ${process.platform}.`);
2929

3030
const assert = require('assert');

test/parallel/test-fs-readfilesync-pipe-large.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common');
33

44
// simulate `cat readfile.js | node readfile.js`
55

6-
if (common.isWindows || common.isAix)
6+
if (common.isWindows || common.isAIX)
77
common.skip(`No /dev/stdin on ${process.platform}.`);
88

99
const assert = require('assert');

test/parallel/test-fs-realpath-pipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44

5-
if (common.isWindows || common.isAix)
5+
if (common.isWindows || common.isAIX)
66
common.skip(`No /dev/stdin on ${process.platform}.`);
77

88
const assert = require('assert');

0 commit comments

Comments
 (0)