From 16af57d2043d00a3ab26afe19e99d8f9c83f560c Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Tue, 11 Apr 2017 16:32:40 +0530 Subject: [PATCH] disable google cookie test --- .../patches/disable-google-cookie-test.patch | 23 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 24 insertions(+) create mode 100644 debian/patches/disable-google-cookie-test.patch diff --git a/debian/patches/disable-google-cookie-test.patch b/debian/patches/disable-google-cookie-test.patch new file mode 100644 index 0000000..8dee89a --- /dev/null +++ b/debian/patches/disable-google-cookie-test.patch @@ -0,0 +1,23 @@ +Index: ruby-rack-proxy/test/rack_proxy_test.rb +=================================================================== +--- ruby-rack-proxy.orig/test/rack_proxy_test.rb ++++ ruby-rack-proxy/test/rack_proxy_test.rb +@@ -28,12 +28,12 @@ class RackProxyTest < Test::Unit::TestCa + assert_match(/Jacek Becela/, last_response.body) + end + +- def test_http_full_request_headers +- app(:streaming => false) +- app.host = 'www.google.com' +- get "/" +- assert !Array(last_response['Set-Cookie']).empty?, 'Google always sets a cookie, yo. Where my cookies at?!' +- end ++# def test_http_full_request_headers ++# app(:streaming => false) ++# app.host = 'www.google.com' ++# get "/" ++# assert !Array(last_response['Set-Cookie']).empty?, 'Google always sets a cookie, yo. Where my cookies at?!' ++# end + + def test_https_streaming + app.host = 'www.apple.com' diff --git a/debian/patches/series b/debian/patches/series index 7458898..767d170 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ remove-rubygems.patch +disable-google-cookie-test.patch