Skip to content

Commit 23fc082

Browse files
committed
test: remove extra console output from test-os.js
PR-URL: #12654 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 473572e commit 23fc082

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/parallel/test-os.js

-10
Original file line numberDiff line numberDiff line change
@@ -70,45 +70,37 @@ if (common.isWindows) {
7070
}
7171

7272
const endianness = os.endianness();
73-
console.log('endianness = %s', endianness);
7473
is.string(endianness);
7574
assert.ok(/[BL]E/.test(endianness));
7675

7776
const hostname = os.hostname();
78-
console.log('hostname = %s', hostname);
7977
is.string(hostname);
8078
assert.ok(hostname.length > 0);
8179

8280
const uptime = os.uptime();
83-
console.log('uptime = %d', uptime);
8481
is.number(uptime);
8582
assert.ok(uptime > 0);
8683

8784
const cpus = os.cpus();
88-
console.log('cpus = ', cpus);
8985
is.array(cpus);
9086
assert.ok(cpus.length > 0);
9187

9288
const type = os.type();
93-
console.log('type = ', type);
9489
is.string(type);
9590
assert.ok(type.length > 0);
9691

9792
const release = os.release();
98-
console.log('release = ', release);
9993
is.string(release);
10094
assert.ok(release.length > 0);
10195
//TODO: Check format on more than just AIX
10296
if (common.isAix)
10397
assert.ok(/^\d+\.\d+$/.test(release));
10498

10599
const platform = os.platform();
106-
console.log('platform = ', platform);
107100
is.string(platform);
108101
assert.ok(platform.length > 0);
109102

110103
const arch = os.arch();
111-
console.log('arch = ', arch);
112104
is.string(arch);
113105
assert.ok(arch.length > 0);
114106

@@ -121,7 +113,6 @@ if (!common.isSunOS) {
121113

122114

123115
const interfaces = os.networkInterfaces();
124-
console.error(interfaces);
125116
switch (platform) {
126117
case 'linux':
127118
{
@@ -151,7 +142,6 @@ assert.ok(EOL.length > 0);
151142

152143
const home = os.homedir();
153144

154-
console.log('homedir = ' + home);
155145
is.string(home);
156146
assert.ok(home.includes(path.sep));
157147

0 commit comments

Comments
 (0)