ciao icon indicating copy to clipboard operation
ciao copied to clipboard

Uncaught AssertionError: expected '' to equal 'execvp(): No such file or directory\n'

Open missinglink opened this issue 11 years ago • 3 comments

tests failing on 0.10. likely an easy fix as per: http://stackoverflow.com/questions/21992657/node-js-spawned-process-is-generating-error-execvp-no-such-file-or-directo

missinglink avatar Aug 21 '14 10:08 missinglink

https://travis-ci.org/missinglink/ciao/jobs/33149370

missinglink avatar Aug 21 '14 10:08 missinglink

it ONLY happens for node.js > 10.25 https://travis-ci.org/missinglink/ciao/builds/33511795

I guess it has to do with this commit: https://github.com/joyent/node/commit/ea89fdfec4f7a6ff180149a5eacc3c7d84b87e39#diff-1dea15b19e826b37828eef6c41166ffe

fabriziomoscon avatar Aug 25 '14 17:08 fabriziomoscon

@missinglink I think node core team has slightly changed child process spawn and this file needs to be reviewed in order to fix that test: https://github.com/missinglink/ciao/blob/master/lib/Process.coffee

The test is checking that stderr contains a string, although the process error is a proper process.ENOENT Error now

fabriziomoscon avatar Aug 25 '14 18:08 fabriziomoscon