[Pkg-javascript-commits] [node-tar] 04/08: Test must not assume submodule path

Jérémy Lal kapouer at moszumanska.debian.org
Fri Nov 18 08:53:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-tar.

commit 23bf8f746cf8cb3a8165a6c22de550003f16280f
Author: Jérémy Lal <kapouer at melix.org>
Date:   Fri Nov 18 09:45:25 2016 +0100

    Test must not assume submodule path
---
 debian/patches/fixtest.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/debian/patches/fixtest.patch b/debian/patches/fixtest.patch
index 767f8d9..dfaa27d 100644
--- a/debian/patches/fixtest.patch
+++ b/debian/patches/fixtest.patch
@@ -18,3 +18,17 @@ Last-Update: 2016-11-17
  
    extract.on('error', function (er) {
      t.equal(er.message, 'unexpected eof', 'error noticed')
+--- a/test/extract-move.js
++++ b/test/extract-move.js
+@@ -57,10 +57,7 @@
+ }
+ 
+ // Make sure we get the graceful-fs that fstream is using.
+-var gfs2
+-try {
+-  gfs2 = require("fstream/node_modules/graceful-fs")
+-} catch (er) {}
++var gfs2 = gfs;
+ 
+ var slowMethods = ["chown", "chmod", "utimes", "lutimes"]
+ slowMethods.forEach(function (method) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-tar.git



More information about the Pkg-javascript-commits mailing list