Commit 8f0a264a authored by Ross Gammon's avatar Ross Gammon

Refresh patch

parent a5430752
......@@ -6,7 +6,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
--- node-cross-spawn-async.orig/test/test.js
+++ node-cross-spawn-async/test/test.js
@@ -59,7 +59,7 @@
@@ -62,7 +62,7 @@
});
it('should support shebang in executables without /usr/bin/env', function (next) {
......@@ -15,7 +15,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
var file = __dirname + '/fixtures/shebang_noenv';
fs.writeFileSync(file, '#!' + nodejs + '\n\nprocess.stdout.write(\'shebang works!\');', {
@@ -100,7 +100,7 @@
@@ -103,7 +103,7 @@
});
it('should support shebang in executables with extensions', function (next) {
......@@ -24,7 +24,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
process.env.PATH = path.normalize(__dirname + '/tmp/') + path.delimiter + process.env.PATH;
buffered(__dirname + '/tmp/shebang.js', function (err, data, code) {
@@ -152,7 +152,7 @@
@@ -155,7 +155,7 @@
});
it('should handle empty arguments', function (next) {
......@@ -33,7 +33,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'',
@@ -177,7 +177,7 @@
@@ -180,7 +180,7 @@
});
it('should handle non-string arguments', function (next) {
......@@ -42,7 +42,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
1234
], function (err, data, code) {
@@ -190,7 +190,7 @@
@@ -193,7 +193,7 @@
});
it('should handle arguments with spaces', function (next) {
......@@ -51,7 +51,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'I am',
'André Cruz'
@@ -204,7 +204,7 @@
@@ -207,7 +207,7 @@
});
it('should handle arguments with \\"', function (next) {
......@@ -60,7 +60,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'\\"',
@@ -219,7 +219,7 @@
@@ -222,7 +222,7 @@
});
it('should handle arguments that end with \\', function (next) {
......@@ -69,7 +69,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'bar\\',
@@ -234,7 +234,7 @@
@@ -237,7 +237,7 @@
});
it('should handle arguments that contain shell special chars', function (next) {
......@@ -78,7 +78,7 @@ Author: Ross Gammon <rossgammons@mail.dk>
__dirname + '/fixtures/echo',
'foo',
'()',
@@ -329,7 +329,7 @@
@@ -332,7 +332,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