~ubuntu-branches/ubuntu/natty/nodejs/natty

« back to all changes in this revision

Viewing changes to debian/patches/2007_remove_internet_test.patch

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-02-22 17:00:49 UTC
  • Revision ID: james.westby@ubuntu.com-20110222170049-381e89p3dy16t0k2
Tags: 0.2.6-4ubuntu1
* debian/patches/2007_remove_internet_test.patch:
  - Remove test which requires internet connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Remove test which requires internet connection
 
2
Author: Angel Abad <angelabad@ubuntu.com>
 
3
Forwarded: no
 
4
 
 
5
Index: nodejs-0.2.6/test/simple/test-c-ares.js
 
6
===================================================================
 
7
--- nodejs-0.2.6.orig/test/simple/test-c-ares.js        2011-02-22 16:58:27.000000000 +0100
 
8
+++ nodejs-0.2.6/test/simple/test-c-ares.js     2011-02-22 16:58:39.000000000 +0100
 
9
@@ -31,9 +31,9 @@
 
10
    assert.equal(6, addressType);
 
11
 });
 
12
 
 
13
-dns.lookup('ipv6.google.com', function (error, result, addressType) {
 
14
-   if (error) throw error;
 
15
-   common.p(arguments);
 
16
+//dns.lookup('ipv6.google.com', function (error, result, addressType) {
 
17
+   //if (error) throw error;
 
18
+   //common.p(arguments);
 
19
    //assert.equal('string', typeof result);
 
20
-   assert.equal(6, addressType);
 
21
-});
 
22
+   //assert.equal(6, addressType);
 
23
+//});