mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
353 B
12 lines
353 B
14 years ago
|
var common = require('../common');
|
||
|
var assert = require('assert');
|
||
|
var os = require('os');
|
||
|
|
||
|
assert.ok(os.hostname().length > 0);
|
||
|
assert.ok(os.loadavg().length > 0);
|
||
|
assert.ok(os.uptime() > 0);
|
||
|
assert.ok(os.freemem() > 0);
|
||
|
assert.ok(os.totalmem() > 0);
|
||
|
assert.ok(os.cpus().length > 0);
|
||
|
assert.ok(os.type().length > 0);
|
||
|
assert.ok(os.release().length > 0);
|