~ubuntu-branches/ubuntu/oneiric/nodejs/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/2007_remove_internet_test.patch

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2011-06-30 07:42:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110630074226-wwazo5qsjrt7gyl1
Tags: 0.4.9-1ubuntu2
debian/patches/2007_remove_internet_test.patch: updated to remove
test-regress-GH-819 test, as it requires internet connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Author: Angel Abad <angelabad@ubuntu.com>
3
3
Forwarded: no
4
4
 
5
 
Index: nodejs-0.4.8/test/simple/test-c-ares.js
 
5
Index: nodejs-0.4.9/test/simple/test-c-ares.js
6
6
===================================================================
7
 
--- nodejs-0.4.8.orig/test/simple/test-c-ares.js        2011-05-21 04:40:06.000000000 +0200
8
 
+++ nodejs-0.4.8/test/simple/test-c-ares.js     2011-06-30 07:05:51.000000000 +0200
 
7
--- nodejs-0.4.9.orig/test/simple/test-c-ares.js        2011-06-29 13:24:02.000000000 +0200
 
8
+++ nodejs-0.4.9/test/simple/test-c-ares.js     2011-06-30 07:17:20.000000000 +0200
9
9
@@ -52,12 +52,12 @@
10
10
   assert.equal(6, addressType);
11
11
 });
24
24
 
25
25
 dns.resolve('127.0.0.1', 'PTR', function(error, domains) {
26
26
   if (error) throw error;
 
27
Index: nodejs-0.4.9/test/simple/test-regress-GH-819.js
 
28
===================================================================
 
29
--- nodejs-0.4.9.orig/test/simple/test-regress-GH-819.js        2011-06-30 07:38:39.000000000 +0200
 
30
+++ nodejs-0.4.9/test/simple/test-regress-GH-819.js     2011-06-30 08:09:44.000000000 +0200
 
31
@@ -3,5 +3,5 @@
 
32
 var assert = require('assert');
 
33
 
 
34
 // Connect to something that we need to DNS resolve
 
35
-var c = net.createConnection(80, "google.com");
 
36
-c.destroy();
 
37
+//var c = net.createConnection(80, "google.com");
 
38
+//c.destroy();