Skip to content

Instantly share code, notes, and snippets.

@Floby
Created March 27, 2013 10:53
Show Gist options
  • Save Floby/5253353 to your computer and use it in GitHub Desktop.
Save Floby/5253353 to your computer and use it in GitHub Desktop.
npm test output for shux
> tap test/*.js
not ok test/sh.js ....................................... 1/3
Command: "node" "sh.js"
TAP version 13
not ok 1 TypeError: Unsupported fd type: TTY
---
type: TypeError
message: Unsupported fd type: TTY
code: ~
errno: ~
file: net.js
line: 50
column: 9
stack:
- createHandle (net.js:50:9)
- new Socket (net.js:156:20)
- new Terminal (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/pty.js/lib/pty.js:63:17)
- Function.Terminal.fork.Terminal.spawn.Terminal.createTerminal (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/pty.js/lib/pty.js:112:10)
- Shux.createShell (/usr/local/lib/node_modules/exterminate/node_modules/shux/index.js:81:18)
- Test.<anonymous> (/usr/local/lib/node_modules/exterminate/node_modules/shux/test/sh.js:14:19)
- Test.EventEmitter.emit (events.js:117:20)
- Test.emit (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-test.js:103:8)
- GlobalHarness.Harness.process (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-harness.js:86:13)
- process._tickCallback (node.js:415:13)
thrown: true
...
not ok 2 test count != plan
---
file: node.js
line: 415
column: 13
stack:
- getCaller (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-assert.js:418:17)
- assert (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-assert.js:21:16)
- Function.equal (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-assert.js:162:10)
- Test.Harness.end (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-harness.js:116:31)
- Test.threw (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-test.js:49:26)
- Test.emit (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-test.js:107:10)
- GlobalHarness.Harness.process (/usr/local/lib/node_modules/exterminate/node_modules/shux/node_modules/tap/lib/tap-harness.js:86:13)
- process._tickCallback (node.js:415:13)
- Function.Module.runMain (module.js:499:11)
- startup (node.js:119:16)
found: 1
wanted: 2
...
ok 3 test/sh.js
1..3
# tests 3
# pass 1
# fail 2
total ................................................... 1/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment