diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 10:47:09 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 10:47:09 +0200 |
commit | 2e8e5aaca4e51737e5a3a56c140d6817251bf0f7 (patch) | |
tree | 1b1224e9b55d4e7f0002feeba51711912d8fb314 /test/integration/test-apt-https-no-redirect | |
parent | d667daf3e6ba5bfc7feb8a5ed0a0bd2d1febde4d (diff) | |
parent | 536fdb8823fdec24c26d984317b8162237c427c3 (diff) |
Merge branch 'debian/sid' into ubuntu/master
Conflicts:
configure.ac
debian/changelog
Diffstat (limited to 'test/integration/test-apt-https-no-redirect')
-rwxr-xr-x | test/integration/test-apt-https-no-redirect | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/integration/test-apt-https-no-redirect b/test/integration/test-apt-https-no-redirect index 73352a28c..bc744d6f2 100755 --- a/test/integration/test-apt-https-no-redirect +++ b/test/integration/test-apt-https-no-redirect @@ -25,6 +25,11 @@ msgtest 'download of a file does not work if' 'https redirected to http' downloadfile 'https://localhost:4433/redirectme/working' redirectfile >curloutput 2>&1 && msgfail || msgpass msgtest 'libcurl has forbidden access in last request to' 'http resource' -grep -q -- 'Protocol http not supported or disabled in libcurl' curloutput && msgpass || msgfail +if grep -q -E -- 'Protocol "?http"? not supported or disabled in libcurl' curloutput; then + msgpass +else + cat curloutput + msgfail +fi |