Imported Upstream version 7.48.0
[platform/upstream/curl.git] / tests / data / test1407
index 842778a..8f8cb2a 100644 (file)
@@ -1,8 +1,9 @@
 <testcase>
-# Based on test808
+# Based on test851
 <info>
 <keywords>
 POP3
+Clear Text\r
 LIST
 --libcurl
 </keywords>
@@ -23,7 +24,7 @@ REPLY LIST +OK 1407 100\r\n.
 pop3
 </server>
  <name>
-POP3 LIST one message
+--libcurl for POP3 LIST one message
  </name>
  <command>
 pop3://%HOSTIP:%POP3PORT/1407 -l -u user:secret --libcurl log/test1407.c
@@ -43,7 +44,7 @@ QUIT
 <file name="log/test1407.c" mode="text">
 /********* Sample code generated by the curl command line tool **********
  * All curl_easy_setopt() options are documented at:
- * http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
+ * https://curl.haxx.se/libcurl/c/curl_easy_setopt.html
  ************************************************************************/
 #include <curl/curl.h>
 
@@ -93,10 +94,11 @@ int main(int argc, char *argv[])
 <stripfile>
 # curl's default user-agent varies with version, libraries etc.
 s/(USERAGENT, \")[^\"]+/${1}stripped/
-# CURLOPT_SSL_VERIFYPEER and SSH_KNOWNHOSTS vary with configurations - just
-# ignore them
+# CURLOPT_SSL_VERIFYPEER, SSH_KNOWNHOSTS and HTTP_VERSION vary with
+# configurations - just ignore them
 $_ = '' if /CURLOPT_SSL_VERIFYPEER/
 $_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
+$_ = '' if /CURLOPT_HTTP_VERSION/
 </stripfile>
 </verify>
 </testcase>