diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-25 13:09:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-25 13:09:22 +0200 |
commit | 2c701f6036c0ae606844df4d3f135507fd8aaa3a (patch) | |
tree | ebd8ba20b6e95aca93fedd168d259f2eaff6e35e | |
parent | 8c34a4dc49c3d906f100a218b6d6c3afc485d07c (diff) | |
download | curl-bagder/test-1521-slist.tar.gz |
test1521: adapt to SLISTPOINTbagder/test-1521-slist
The header now has the slist-using options marked as SLISTPOINT so this
makes sure test 1521 understands that.
Follow-up to ae99b4de1c443ae989
-rwxr-xr-x | tests/libtest/mk-lib1521.pl | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl index fb1401a53..f4add1a02 100755 --- a/tests/libtest/mk-lib1521.pl +++ b/tests/libtest/mk-lib1521.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 2017 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -205,17 +205,6 @@ while(<STDIN>) { print " (void)curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 0);\n"; print "${pref} stringpointerextra);\n$check"; } - elsif(($name eq "HTTPHEADER") || - ($name eq "POSTQUOTE") || - ($name eq "PREQUOTE") || - ($name eq "HTTP200ALIASES") || - ($name eq "TELNETOPTIONS") || - ($name eq "MAIL_RCPT") || - ($name eq "RESOLVE") || - ($name eq "PROXYHEADER") || - ($name eq "QUOTE")) { - print "${pref} slist);\n$check"; - } elsif($name eq "HTTPPOST") { print "${pref} httppost);\n$check"; } @@ -230,6 +219,9 @@ while(<STDIN>) { } print "${pref} NULL);\n$check"; } + elsif($type eq "SLISTPOINT") { + print "${pref} slist);\n$check"; + } elsif($type eq "FUNCTIONPOINT") { if($name =~ /([^ ]*)FUNCTION/) { my $l=lc($1); |