[Pkg-javascript-commits] [node-fined] 01/01: Skip a few tests that fail in the autopkgtest environment

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Dec 20 06:27:15 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-fined.

commit 44d3e50c271ddbf0eb94e0026f388467b1c1afdb
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Dec 20 06:26:29 2016 +0000

    Skip a few tests that fail in the autopkgtest environment
---
 debian/changelog            |  3 ++-
 debian/patches/02-skip.diff | 36 ++++++++++++++++++++++++++++++++++++
 debian/patches/series       |  1 +
 3 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5607188..8c987a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ node-fined (1.0.2-2) unstable; urgency=medium
 
   * Disable build-time tests since in an sbuild chroot HOME is set to
     /sbuild-nonexistent (Closes: 848749)
+  * Skip a few tests that fail in the autopkgtest environment
 
- -- Paolo Greppi <paolo.greppi at libpf.com>  Tue, 20 Dec 2016 06:00:17 +0000
+ -- Paolo Greppi <paolo.greppi at libpf.com>  Tue, 20 Dec 2016 06:26:08 +0000
 
 node-fined (1.0.2-1) unstable; urgency=low
 
diff --git a/debian/patches/02-skip.diff b/debian/patches/02-skip.diff
new file mode 100644
index 0000000..eaa3f4a
--- /dev/null
+++ b/debian/patches/02-skip.diff
@@ -0,0 +1,36 @@
+Description: Skip a few tests that fail in the autopkgtest environment
+ (but not on a clean development machine).
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-fined/test/index.js
+===================================================================
+--- node-fined.orig/test/index.js
++++ node-fined/test/index.js
+@@ -499,7 +499,7 @@ describe('Properties: `path`', function(
+     done();
+   });
+ 
+-  it('resolves `~` to homedir', function(done) {
++  it.skip('resolves `~` to homedir', function(done) {
+     // ~
+     var pathObj = {
+       path: '~',
+@@ -815,7 +815,7 @@ describe('Properties: `name`', function(
+     done();
+   });
+ 
+-  it('resolves `name` when it is an absolute path and `path` is empty', function(done) {
++  it.skip('resolves `name` when it is an absolute path and `path` is empty', function(done) {
+     var pathObj = {
+       name: path.resolve(cwd, 'test/fixtures/fined/app'),
+     };
+@@ -1318,7 +1318,7 @@ describe('Properties: `cwd`', function()
+     done();
+   });
+ 
+-  it('expands `~` to homedir', function(done) {
++  it.skip('expands `~` to homedir', function(done) {
+     var pathObj = {
+       cwd: '~',
+     };
diff --git a/debian/patches/series b/debian/patches/series
index 140028f..cdff84f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 00-expect.diff
 01-skip.diff
+02-skip.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-fined.git



More information about the Pkg-javascript-commits mailing list