Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1ad5a4e918
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.533 kb
should = require 'should'
sigar = require '..'
describe 'todo', ->
s = sigar()
it 'should return net adress', ->
# Ubuntu return "TypeError: node_sigar_str2net_address error"
# testNetAdress = s.testNetAdress '127.0.0.1'
# console.log testNetAdress
# assert.eql testNetAdress, '127.0.0.1'
it 'should ping rpc', ->
# rpcPing = s.rpcPing '127.0.0.1', 0x10, 2
# console.log 'rpcPing', rpcPing
# it 'Test password', ->
# s = sigar()
# password = s.password 'Password please'
# console.log 'password', password
Jump to Line
Something went wrong with that request. Please try again.