Commit 8633b5b8 authored by Ross Gammon's avatar Ross Gammon

Refresh patches

parent 27233da9
......@@ -6,16 +6,16 @@ Author: Ross Gammon <rossgammons@mail.dk>
--- node-cross-spawn-async.orig/test/test.js
+++ node-cross-spawn-async/test/test.js
@@ -45,7 +45,7 @@
@@ -59,7 +59,7 @@
});
it('should support shebang in executables (without /usr/bin/env)', function (next) {
it('should support shebang in executables without /usr/bin/env', function (next) {
- var nodejs = which.sync('node');
+ var nodejs = which.sync('nodejs');
var file = __dirname + '/fixtures/shebang_noenv';
fs.writeFileSync(file, '#!' + nodejs + '\n\nprocess.stdout.write(\'shebang works!\');', {
@@ -106,7 +106,7 @@
@@ -152,7 +152,7 @@
});
it('should handle empty arguments', function (next) {
......@@ -24,7 +24,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'',
@@ -131,7 +131,7 @@
@@ -177,7 +177,7 @@
});
it('should handle non-string arguments', function (next) {
......@@ -33,7 +33,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
1234
], function (err, data, code) {
@@ -144,7 +144,7 @@
@@ -190,7 +190,7 @@
});
it('should handle arguments with spaces', function (next) {
......@@ -42,7 +42,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'I am',
'André Cruz'
@@ -158,7 +158,7 @@
@@ -204,7 +204,7 @@
});
it('should handle arguments with \\"', function (next) {
......@@ -51,7 +51,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'\\"',
@@ -173,7 +173,7 @@
@@ -219,7 +219,7 @@
});
it('should handle arguments that end with \\', function (next) {
......@@ -60,7 +60,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'bar\\',
@@ -188,7 +188,7 @@
@@ -234,7 +234,7 @@
});
it('should handle arguments that contain shell special chars', function (next) {
......@@ -69,7 +69,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'()',
@@ -283,7 +283,7 @@
@@ -329,7 +329,7 @@
});
it('should give correct exit code', function (next) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment