Skip to content

Commit d7a1637

Browse files
LipperZackaddaleax
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 26785a2 commit d7a1637

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
@@ -147,7 +147,7 @@ the number of calls.
147147

148148
Checks whether free BSD Jail is true or false.
149149

150-
### isAix
150+
### isAIX
151151
* return [&lt;Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type)
152152

153153
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
@@ -44,7 +44,7 @@ exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
4444
exports.isWindows = process.platform === 'win32';
4545
exports.isWOW64 = exports.isWindows &&
4646
(process.env.PROCESSOR_ARCHITEW6432 !== undefined);
47-
exports.isAix = process.platform === 'aix';
47+
exports.isAIX = process.platform === 'aix';
4848
exports.isLinuxPPCBE = (process.platform === 'linux') &&
4949
(process.arch === 'ppc64') &&
5050
(os.endianness() === 'BE');
@@ -333,7 +333,7 @@ exports.platformTimeout = function(ms) {
333333
if (global.__coverage__)
334334
ms = 4 * ms;
335335

336-
if (exports.isAix)
336+
if (exports.isAIX)
337337
return 2 * ms; // default localhost speed is slower on AIX
338338

339339
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)