[Pkg-javascript-commits] [node-cross-spawn] 04/06: Refresh patches

Ross Gammon ross-guest at moszumanska.debian.org
Mon Feb 1 17:18:44 UTC 2016


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.

commit c689a35345f0bef59f0a2f4c1ae11ea85ac28cf5
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sun Jan 31 21:11:33 2016 +0100

    Refresh patches
---
 debian/patches/nodejs_test.patch | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/debian/patches/nodejs_test.patch b/debian/patches/nodejs_test.patch
index 00ebd2a..3172dc8 100644
--- a/debian/patches/nodejs_test.patch
+++ b/debian/patches/nodejs_test.patch
@@ -6,7 +6,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
 
 --- node-cross-spawn.orig/test/test.js
 +++ node-cross-spawn/test/test.js
-@@ -63,7 +63,7 @@
+@@ -66,7 +66,7 @@
              });
  
              it('should support shebang in executables without /usr/bin/env', function (next) {
@@ -15,7 +15,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                  var file = __dirname + '/fixtures/shebang_noenv';
  
                  fs.writeFileSync(file, '#!' + nodejs + '\n\nprocess.stdout.write(\'shebang works!\');', {
-@@ -91,7 +91,7 @@
+@@ -94,7 +94,7 @@
              it('should support shebang in executables with relative path', function (next) {
                  var executable = './' + path.relative(process.cwd(), __dirname + '/fixtures/shebang');
  
@@ -24,16 +24,16 @@ Author: Ross Gammon <rossgammon at mail.dk>
                  process.env.PATH = path.normalize(__dirname + '/tmp/') + path.delimiter + process.env.PATH;
  
                  buffered(method, executable, function (err, data, code) {
-@@ -104,7 +104,7 @@
+@@ -107,7 +107,7 @@
              });
  
              it('should support shebang in executables with extensions', function (next) {
--                fs.writeFileSync(__dirname + '/tmp/shebang.js', '#!/usr/bin/env node\n\nprocess.stdout.write(\'shebang with extension\');', { mode: parseInt('0777', 8) });
-+                fs.writeFileSync(__dirname + '/tmp/shebang.js', '#!/usr/bin/env nodejs\n\nprocess.stdout.write(\'shebang with extension\');', { mode: parseInt('0777', 8) });
+-                fs.writeFileSync(__dirname + '/tmp/shebang_' + method + '.js', '#!/usr/bin/env node\n\nprocess.stdout.write(\'shebang with extension\');', { mode: parseInt('0777', 8) });
++                fs.writeFileSync(__dirname + '/tmp/shebang_' + method + '.js', '#!/usr/bin/env nodejs\n\nprocess.stdout.write(\'shebang with extension\');', { mode: parseInt('0777', 8) });
                  process.env.PATH = path.normalize(__dirname + '/tmp/') + path.delimiter + process.env.PATH;
  
-                 buffered(method, __dirname + '/tmp/shebang.js', function (err, data, code) {
-@@ -156,7 +156,7 @@
+                 buffered(method, __dirname + '/tmp/shebang_' + method + '.js', function (err, data, code) {
+@@ -159,7 +159,7 @@
              });
  
              it('should handle empty arguments', function (next) {
@@ -42,7 +42,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      'foo',
                      '',
-@@ -181,7 +181,7 @@
+@@ -184,7 +184,7 @@
              });
  
              it('should handle non-string arguments', function (next) {
@@ -51,7 +51,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      1234
                  ], function (err, data, code) {
-@@ -194,7 +194,7 @@
+@@ -197,7 +197,7 @@
              });
  
              it('should handle arguments with spaces', function (next) {
@@ -60,7 +60,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      'I am',
                      'André Cruz'
-@@ -208,7 +208,7 @@
+@@ -211,7 +211,7 @@
              });
  
              it('should handle arguments with \\"', function (next) {
@@ -69,7 +69,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      'foo',
                      '\\"',
-@@ -223,7 +223,7 @@
+@@ -226,7 +226,7 @@
              });
  
              it('should handle arguments that end with \\', function (next) {
@@ -78,7 +78,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      'foo',
                      'bar\\',
-@@ -238,7 +238,7 @@
+@@ -241,7 +241,7 @@
              });
  
              it('should handle arguments that contain shell special chars', function (next) {
@@ -87,7 +87,7 @@ Author: Ross Gammon <rossgammon at mail.dk>
                      __dirname + '/fixtures/echo',
                      'foo',
                      '()',
-@@ -331,7 +331,7 @@
+@@ -334,7 +334,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.git



More information about the Pkg-javascript-commits mailing list