Skip to content

Instantly share code, notes, and snippets.

@Bartvds
Created October 13, 2013 18:04
Show Gist options
  • Select an option

  • Save Bartvds/6965324 to your computer and use it in GitHub Desktop.

Select an option

Save Bartvds/6965324 to your computer and use it in GitHub Desktop.
Grunt patch test failures on cmd.exe and git bash - https://github.com/cowboy/node-exit/pull/3#issuecomment-26223403
D:\project\node-exit\refack>grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:lib" (jshint) task
>> 1 file lint free.
Running "jshint:test" (jshint) task
>> 3 files lint free.
Running "nodeunit:files" (nodeunit) task
Testing exit_test.js.F.....FF....FF.......
>> exit - output (node log.js 0 10 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 126 == 180
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Socket.<anonymous> (child_process.js:948:11)
>> at Socket.EventEmitter.emit (events.js:95:17)
>> at Pipe.close (net.js:466:12)
>> exit - output (node log.js 0 100 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 1150 == 1980
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 100 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 1840 == 1980
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 19228 == 21780
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 21747 == 21780
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Socket.<anonymous> (child_process.js:948:11)
>> at Socket.EventEmitter.emit (events.js:95:17)
>> at Pipe.close (net.js:466:12)
Warning: 5/40 assertions failed (2895ms) Use --force to continue.
Aborted due to warnings.
D:\project\node-exit\refack>
D:\project\node-exit\refack>grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:lib" (jshint) task
>> 1 file lint free.
Running "jshint:test" (jshint) task
>> 3 files lint free.
Running "nodeunit:files" (nodeunit) task
Testing exit_test.js.F.....F.....FF.......
>> exit - output (node log.js 0 10 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 135 == 180
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Socket.<anonymous> (child_process.js:948:11)
>> at Socket.EventEmitter.emit (events.js:95:17)
>> at Pipe.close (net.js:466:12)
>> exit - output (node log.js 0 100 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 1150 == 1980
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 17138 == 21780
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 21527 == 21780
>> at D:\project\node-exit\refack\test\exit_test.js:92:18
>> at D:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Warning: 4/40 assertions failed (3309ms) Use --force to continue.
Aborted due to warnings.
D:\project\node-exit\refack>
Bart@MACACAXL /d/project/node-exit/refack (patch-1)
$ grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:lib" (jshint) task
>> 1 file lint free.
Running "jshint:test" (jshint) task
>> 3 files lint free.
Running "nodeunit:files" (nodeunit) task
Testing exit_test.js.FF....FF....FF.......
>> exit - output (node log.js 0 10 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 162 == 180
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 10 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 162 == 180
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 100 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 1160 == 1980
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 100 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 1830 == 1980
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 21648 == 21780
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 21241 == 21780
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Warning: 6/40 assertions failed (3758ms) Use --force to continue.
Aborted due to warnings.
Bart@MACACAXL /d/project/node-exit/refack (patch-1)
$
Bart@MACACAXL /d/project/node-exit/refack (patch-1)
$ grunt
Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.
Running "jshint:lib" (jshint) task
>> 1 file lint free.
Running "jshint:test" (jshint) task
>> 3 files lint free.
Running "nodeunit:files" (nodeunit) task
Testing exit_test.js.......FF....FF.......
>> exit - output (node log.js 0 100 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 1053 == 1980
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 100 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 1960 == 1980
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1)
>> Message: should be the same length.
>> Error: 19316 == 21780
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
>> exit - output (node log.js 0 1000 stdout stderr 2>&1 | grep "std")
>> Message: should be the same length.
>> Error: 20284 == 21780
>> at d:\project\node-exit\refack\test\exit_test.js:92:18
>> at d:\project\node-exit\refack\test\exit_test.js:67:5
>> at ChildProcess.exithandler (child_process.js:635:7)
>> at ChildProcess.EventEmitter.emit (events.js:98:17)
>> at maybeClose (child_process.js:735:16)
>> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Warning: 4/40 assertions failed (3324ms) Use --force to continue.
Aborted due to warnings.
Bart@MACACAXL /d/project/node-exit/refack (patch-1)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment