Skip to content

Commit

Permalink
test1422: add required file feature
Browse files Browse the repository at this point in the history
curl configured with --enable-debug --disable-file currently complains
on test1422:
Info: Protocol "file" not supported or disabled in libcurl

Make test1422 dependend on enabled FILE protocol to fix this.

Fixes curl#2741
Closes
  • Loading branch information
MarcelRaad committed Jul 13, 2018
1 parent f8be737 commit 7019083
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions tests/data/test1422
Expand Up @@ -10,14 +10,14 @@ HTTP GET
#
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 0
Connection: close
Content-Type: text/html
Content-Disposition: filename=name1422; charset=funny; option=str//nge
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 0
Connection: close
Content-Type: text/html
Content-Disposition: filename=name1422; charset=funny; option=str//nge

</data>
</reply>

Expand All @@ -28,6 +28,7 @@ Content-Disposition: filename=name1422; charset=funny; option=str//nge
# -O and -J output in, using the CURL_TESTDIR variable
<features>
debug
file
</features>
<server>
http
Expand All @@ -50,10 +51,10 @@ http://%HOSTIP:%HTTPPORT/1422 -J -O file://%PWD/log/name1422
^User-Agent:.*
</strip>
<protocol>
GET /1422 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /1422 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*

</protocol>

<file1 name="log/name1422">
Expand Down

0 comments on commit 7019083

Please sign in to comment.