summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Stsepanenka <mstsepanenka@gmail.com>2019-05-27 01:24:52 +0300
committerDaniel Stenberg <daniel@haxx.se>2019-05-27 11:34:06 +0200
commit1b260757b8b4057691c377bc0ae802b896b5338a (patch)
tree0c1416cb20245fb3a100ea016061877287858d87
parent319ae9075efba769c9d5e98e827bb325ad0fcb6f (diff)
downloadcurl-1b260757b8b4057691c377bc0ae802b896b5338a.tar.gz
tests: make test 1420 and 1406 work with rtsp-disabled libcurl
Closes #3948
-rw-r--r--tests/data/test14063
-rw-r--r--tests/data/test14203
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/data/test1406 b/tests/data/test1406
index 7d973e7ef..ab835d3cb 100644
--- a/tests/data/test1406
+++ b/tests/data/test1406
@@ -89,7 +89,6 @@ int main(int argc, char *argv[])
them yourself.
CURLOPT_WRITEDATA set to a objectpointer
- CURLOPT_INTERLEAVEDATA set to a objectpointer
CURLOPT_WRITEFUNCTION set to a functionpointer
CURLOPT_READDATA set to a objectpointer
CURLOPT_READFUNCTION set to a functionpointer
@@ -117,12 +116,14 @@ int main(int argc, char *argv[])
</file>
<stripfile>
# These options vary with configurations - just ignore them
+# CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
$_ = '' if /CURLOPT_USERAGENT/
$_ = '' if /CURLOPT_MAXREDIRS/
$_ = '' if /CURLOPT_SSL_VERIFYPEER/
$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_HTTP09_ALLOWED/
+$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
</verify>
</testcase>
diff --git a/tests/data/test1420 b/tests/data/test1420
index c3d31f349..ebd45ff84 100644
--- a/tests/data/test1420
+++ b/tests/data/test1420
@@ -75,7 +75,6 @@ int main(int argc, char *argv[])
them yourself.
CURLOPT_WRITEDATA set to a objectpointer
- CURLOPT_INTERLEAVEDATA set to a objectpointer
CURLOPT_WRITEFUNCTION set to a functionpointer
CURLOPT_READDATA set to a objectpointer
CURLOPT_READFUNCTION set to a functionpointer
@@ -101,11 +100,13 @@ int main(int argc, char *argv[])
</file>
<stripfile>
# These options vary with configurations - just ignore them
+# CURLOPT_INTERLEAVEDATA requires RTSP (HTTP) protocol
$_ = '' if /CURLOPT_USERAGENT/
$_ = '' if /CURLOPT_MAXREDIRS/
$_ = '' if /CURLOPT_SSL_VERIFYPEER/
$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
$_ = '' if /CURLOPT_HTTP_VERSION/
+$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
</verify>
</testcase>