Package: node-tap / 12.0.1+ds-1

0016-Disable-test-needing-home.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 15d38b8301b38e778db51f373f77055570aa737e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Fri, 1 Dec 2017 17:24:44 +0100
Subject: Disable test needing home

Build daemon have no home

Forwarded: no
---
 test/stack.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/stack.js b/test/stack.js
index 8822222..63716ce 100644
--- a/test/stack.js
+++ b/test/stack.js
@@ -12,7 +12,7 @@ t.test('in tapdir, no envs', t => {
   t.notMatch(stack, '\.node-spawn-wrap')
   t.end()
 })
-
+/*
 t.test('in ~, no envs', t => {
   delete require.cache[require.resolve('../lib/stack.js')]
   process.chdir(process.env.HOME)
@@ -33,7 +33,7 @@ t.test('in home, longstack', t => {
   t.notMatch(stack, '\.node-spawn-wrap')
   t.end()
 })
-
+*/
 t.test('in tapdir, shortstack', t => {
   delete require.cache[require.resolve('../lib/stack.js')]
   process.chdir(path.resolve(__dirname, '..'))