[Pkg-javascript-commits] [node-cross-spawn-async] 05/07: Refresh patches
Ross Gammon
ross-guest at moszumanska.debian.org
Wed Dec 23 12:50:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository node-cross-spawn-async.
commit 8633b5b879747b5396438322bea7bde09dfb431a
Author: Ross Gammon <rossgammon at mail.dk>
Date: Wed Dec 23 11:15:10 2015 +0100
Refresh patches
---
debian/patches/test_fix.patch | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/debian/patches/test_fix.patch b/debian/patches/test_fix.patch
index 392429c..98b797f 100644
--- a/debian/patches/test_fix.patch
+++ b/debian/patches/test_fix.patch
@@ -6,16 +6,16 @@ Author: Ross Gammon <rossgammons at 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 at 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 at 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 at 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 at 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 at 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 at mail.dk>
__dirname + '/fixtures/echo',
'foo',
'()',
-@@ -283,7 +283,7 @@
+@@ -329,7 +329,7 @@
});
it('should give correct exit code', function (next) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-cross-spawn-async.git
More information about the Pkg-javascript-commits
mailing list