Created
January 25, 2014 14:21
-
-
Save smikes/8617125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ip-172-31-29-177:~/foo/node-libnmap$ npm test | |
> node-libnmap@0.0.8 test /home/ubuntu/foo/node-libnmap | |
> make test | |
nmap | |
discovery method | |
1) validate report | |
nmap | |
default method | |
√ object description | |
√ latest version | |
√ usage url | |
√ support url | |
√ license url | |
√ legal url (nmap) | |
nmap | |
scan method | |
2) valid report | |
6 passing (62ms) | |
2 failing | |
1) nmap discovery method validate report: | |
Uncaught AssertionError: expected [Error: Command failed: /bin/sh: 1: /usr/bin/nmap: not found | |
] to not exist | |
2) nmap scan method valid report: | |
Uncaught TypeError: Cannot read property 'should' of undefined | |
at Object.libnmap.nmap.callback (/home/ubuntu/foo/node-libnmap/test/scan.js:39:20) | |
at /home/ubuntu/foo/node-libnmap/lib/node-libnmap.min.js:2:823 | |
at /home/ubuntu/foo/node-libnmap/node_modules/async/lib/async.js:232:13 | |
at /home/ubuntu/foo/node-libnmap/node_modules/async/lib/async.js:119:25 | |
at /home/ubuntu/foo/node-libnmap/node_modules/async/lib/async.js:24:16 | |
at /home/ubuntu/foo/node-libnmap/node_modules/async/lib/async.js:229:17 | |
at Socket.<anonymous> (/home/ubuntu/foo/node-libnmap/lib/node-libnmap.min.js:2:794) | |
at Socket.EventEmitter.emit (events.js:123:20) | |
at _stream_readable.js:896:16 | |
at process._tickCallback (node.js:599:11) | |
make: *** [test] Error 2 | |
npm ERR! Test failed. See above for more details. | |
npm ERR! not ok code 0 | |
ubuntu@ip-172-31-29-177:~/foo/node-libnmap$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment