[Pkg-javascript-commits] [node-foreground-child] 09/69: patch for travis exit weirdness

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 11:43:01 UTC 2017


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

rouca pushed a commit to branch master
in repository node-foreground-child.

commit 0b13d1e2389d57e4b750c1329b8fa1df2e7069b1
Author: Benjamin Coe <ben at npmjs.com>
Date:   Sat Jun 20 14:37:21 2015 -0400

    patch for travis exit weirdness
---
 test/basic.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/basic.js b/test/basic.js
index 40a68cc..94a5a74 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -100,7 +100,7 @@ t.test('parent emits exit when SIGTERMed', function (t) {
       var out = ''
       child.stdout.on('data', function (c) { out += c })
       child.on('close', function (code, signal) {
-        if (who === 'nobody')
+        if (who === 'nobody' || (process.env.TRAVIS && who === 'child'))
           t.equal(signal, null)
         else
           t.equal(signal, 'SIGTERM')

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



More information about the Pkg-javascript-commits mailing list