From 859759267c145a9ba3e2c5f14d5910f276fcbe78 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 11 Feb 2018 18:08:36 -0500 Subject: [PATCH] Prevent testcases that access the internet to run Some testcases (test/http_streaming_response_test.rb and test/rack_proxy_test.rb) try to access the internet, but that is against Debian Policy guidelines, and therefore we need to disable them. Closes: #860198 --- debian/ruby-tests.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake index c085c38..b856dc9 100644 --- a/debian/ruby-tests.rake +++ b/debian/ruby-tests.rake @@ -2,5 +2,5 @@ require 'gem2deb/rake/testtask' Gem2Deb::Rake::TestTask.new do |t| t.libs = ['test'] - t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb'] + t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb'] - FileList['test/http_streaming_response_test.rb'] - FileList['test/rack_proxy_test.rb'] end