[Pkg-javascript-commits] [node-tap] 01/02: Patch fixing failing test #775627
Jérémy Lal
kapouer at moszumanska.debian.org
Mon Feb 16 22:45:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-tap.
commit 67560aef28979ac7ff89cd2078c49eae50dbe94c
Author: Jérémy Lal <kapouer at melix.org>
Date: Mon Feb 16 23:40:08 2015 +0100
Patch fixing failing test #775627
---
debian/patches/mitigate_test_segv.patch | 30 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
diff --git a/debian/patches/mitigate_test_segv.patch b/debian/patches/mitigate_test_segv.patch
new file mode 100644
index 0000000..05cd39b
--- /dev/null
+++ b/debian/patches/mitigate_test_segv.patch
@@ -0,0 +1,30 @@
+Description: exit code of segv test depend on platform - do not check it
+ For reasons yet to be discovered, the assumption in segv test is wrong on
+ the platform used for https://bugs.debian.org/775627.
+Last-Update: 2015-02-16
+Author: Jérémy Lal <kapouer at melix.org>
+Forwarded: no, need more info
+--- a/test/segv.js
++++ b/test/segv.js
+@@ -37,9 +37,7 @@
+ , { 'id': 1,
+ 'ok': false,
+ 'name': ' ././segv',
+- 'exit': null,
+ 'timedOut': true,
+- 'signal': process.platform === 'linux' ? 'SIGSEGV' : 'SIGTERM',
+ 'command': '"./segv"' }
+ , 'tests 1'
+ , 'fail 1' ]
+@@ -47,11 +45,6 @@
+ tc.on('data', function (d) {
+ var e = expect.shift()
+
+- // specific signal can be either term or bus
+- if (d.signal && e.signal)
+- e.signal = d.signal === "SIGTERM" || d.signal === "SIGBUS" ?
+- d.signal : e.signal
+-
+ t.same(d, e)
+ })
+ tc.on('end', function () {
diff --git a/debian/patches/series b/debian/patches/series
index fd42602..9347409 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
nodejs_rename.patch
use_available_modules.patch
sbuild_disable_tests.patch
+mitigate_test_segv.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git
More information about the Pkg-javascript-commits
mailing list