diff options
author | nikita <nikita@NetBSD.org> | 2020-09-14 20:38:16 +0200 |
---|---|---|
committer | nikita <nikita@NetBSD.org> | 2020-09-14 20:38:16 +0200 |
commit | ea5627408e41592ac8750032de41b97038811d88 (patch) | |
tree | 851007eaf0e4e3ec6b97756e209b512792933b88 /tests/libtest/mk-lib1521.pl | |
parent | b8e9ccfa48a0b35e2c9dd560334237e591175be8 (diff) | |
parent | 5a1fc8d33808d7b22f57bdf9403cda7ff07b0670 (diff) | |
download | gnurl-ea5627408e41592ac8750032de41b97038811d88.tar.gz gnurl-ea5627408e41592ac8750032de41b97038811d88.tar.bz2 gnurl-ea5627408e41592ac8750032de41b97038811d88.zip |
Merge tag 'curl-7_71_1'
curl 7.71.1
Diffstat (limited to 'tests/libtest/mk-lib1521.pl')
-rwxr-xr-x | tests/libtest/mk-lib1521.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl index 27fadcfce..14b222098 100755 --- a/tests/libtest/mk-lib1521.pl +++ b/tests/libtest/mk-lib1521.pl @@ -158,6 +158,7 @@ int test(char *URL) curl_socket_t sockfd; struct curl_certinfo *certinfo; struct curl_tlssessioninfo *tlssession; + struct curl_blob blob = { (void *)"silly", 5, 0}; CURLcode res = CURLE_OK; (void)URL; /* not used */ global_init(CURL_GLOBAL_ALL); @@ -239,8 +240,12 @@ while(<STDIN>) { print "${pref} OFF_HI);\n$check"; print "${pref} OFF_LO);\n$check"; } + elsif($type eq "CURLOPTTYPE_BLOB") { + print "${pref} &blob);\n$check"; + } else { print STDERR "\n---- $type\n"; + exit; # exit to make this noticed! } } elsif($_ =~ /^ CURLINFO_NONE/) { |