[Pkg-javascript-commits] [node-mocha] 09/10: Update patches

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat May 30 15:58:25 UTC 2015


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

l3on-guest pushed a commit to branch master
in repository node-mocha.

commit 02e058390ecc46f19094555feab0bdaff0a73685
Author: Leo Iannacone <info at leoiannacone.com>
Date:   Sat May 30 17:58:03 2015 +0200

    Update patches
---
 debian/patches/0001_makefile.patch   | 15 +++------------
 debian/patches/0005-test-ports.patch | 22 ++++++++--------------
 2 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/debian/patches/0001_makefile.patch b/debian/patches/0001_makefile.patch
index 6d2e8af..5f7141b 100644
--- a/debian/patches/0001_makefile.patch
+++ b/debian/patches/0001_makefile.patch
@@ -11,8 +11,8 @@ Author: Leo Iannacone <l3on at ubuntu.com>
 Forwarded: not-needed
 
 ---
- Makefile |   14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
+ Makefile |   12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
 
 --- a/Makefile
 +++ b/Makefile
@@ -36,7 +36,7 @@ Forwarded: not-needed
  	  support/head.js \
  	  _mocha.js \
 @@ -39,10 +39,10 @@
- test-all: test-bdd test-tdd test-qunit test-exports test-unit test-grep test-jsapi test-compilers test-sort test-glob test-requires test-reporters test-only test-failing test-regression
+ test-all: test-bdd test-tdd test-qunit test-exports test-unit test-integration test-jsapi test-compilers test-glob test-requires test-reporters test-only
  
  test-jsapi:
 -	@node test/jsapi
@@ -48,12 +48,3 @@ Forwarded: not-needed
  		--reporter $(REPORTER) \
  		test/acceptance/*.js \
  		--growl \
-@@ -53,7 +53,7 @@
- 		--reporter $(REPORTER) \
- 		test/regression/issue*/control.js
- 
--test-outputs/issue1327/case-out.json: test/regression/issue1327/case.js
-+test-outputs/issue1327/case-out.json:
- 	@mkdir -p $(dir $@) || true
- 	@./bin/mocha --reporter json $< > $@ || true
- 
diff --git a/debian/patches/0005-test-ports.patch b/debian/patches/0005-test-ports.patch
index 7938e85..de4c791 100644
--- a/debian/patches/0005-test-ports.patch
+++ b/debian/patches/0005-test-ports.patch
@@ -4,22 +4,16 @@ Author: Leo Iannacone <l3on at ubuntu.com>
 Forwarded: not-needed
 
 ---
- test/http.meta.js |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ test/http.meta.js |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 --- a/test/http.meta.js
 +++ b/test/http.meta.js
-@@ -19,11 +19,11 @@
-   }
- })
+@@ -1,6 +1,6 @@
+ var http = require('http');
  
--server.listen(8889);
-+server.listen(8989);
+-var PORT = 8889;
++var PORT = 8989;
  
- function get(url, body, header) {
-   return function(done){
--    http.get({ path: url, port: 8889, headers: header }, function(res){
-+    http.get({ path: url, port: 8989, headers: header }, function(res){
-       var buf = '';
-       res.should.have.property('statusCode', 200);
-       res.setEncoding('utf8');
+ var server = http.createServer(function(req, res){
+   var accept = req.headers.accept || ''

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



More information about the Pkg-javascript-commits mailing list