diff options
author | James M Snell <jasnell@gmail.com> | 2017-04-25 14:51:29 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-05-01 11:45:02 -0700 |
commit | 23fc082409e46b5d85d66c74affb7a9422f8f489 (patch) | |
tree | 00ac98d902311066898f8de7dcd3d332f4a54f8c /test/parallel/test-os.js | |
parent | 473572ea2512cbe71e3423f8094657986352c32d (diff) | |
download | android-node-v8-23fc082409e46b5d85d66c74affb7a9422f8f489.tar.gz android-node-v8-23fc082409e46b5d85d66c74affb7a9422f8f489.tar.bz2 android-node-v8-23fc082409e46b5d85d66c74affb7a9422f8f489.zip |
test: remove extra console output from test-os.js
PR-URL: https://github.com/nodejs/node/pull/12654
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'test/parallel/test-os.js')
-rw-r--r-- | test/parallel/test-os.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/parallel/test-os.js b/test/parallel/test-os.js index 6b76d7506d..848e7963b2 100644 --- a/test/parallel/test-os.js +++ b/test/parallel/test-os.js @@ -70,32 +70,26 @@ if (common.isWindows) { } const endianness = os.endianness(); -console.log('endianness = %s', endianness); is.string(endianness); assert.ok(/[BL]E/.test(endianness)); const hostname = os.hostname(); -console.log('hostname = %s', hostname); is.string(hostname); assert.ok(hostname.length > 0); const uptime = os.uptime(); -console.log('uptime = %d', uptime); is.number(uptime); assert.ok(uptime > 0); const cpus = os.cpus(); -console.log('cpus = ', cpus); is.array(cpus); assert.ok(cpus.length > 0); const type = os.type(); -console.log('type = ', type); is.string(type); assert.ok(type.length > 0); const release = os.release(); -console.log('release = ', release); is.string(release); assert.ok(release.length > 0); //TODO: Check format on more than just AIX @@ -103,12 +97,10 @@ if (common.isAix) assert.ok(/^\d+\.\d+$/.test(release)); const platform = os.platform(); -console.log('platform = ', platform); is.string(platform); assert.ok(platform.length > 0); const arch = os.arch(); -console.log('arch = ', arch); is.string(arch); assert.ok(arch.length > 0); @@ -121,7 +113,6 @@ if (!common.isSunOS) { const interfaces = os.networkInterfaces(); -console.error(interfaces); switch (platform) { case 'linux': { @@ -151,7 +142,6 @@ assert.ok(EOL.length > 0); const home = os.homedir(); -console.log('homedir = ' + home); is.string(home); assert.ok(home.includes(path.sep)); |