소스 검색

test1594/1595/1596: fix to work in hyper mode

Closes #7209
Daniel Stenberg 3 년 전
부모
커밋
75391045cf
4개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      tests/data/test1594
  2. 1 1
      tests/data/test1595
  3. 1 1
      tests/data/test1596
  4. 2 2
      tests/libtest/lib1594.c

+ 1 - 1
tests/data/test1594

@@ -43,7 +43,7 @@ Accept: */*
 
 </protocol>
 <stdout>
-Retry-After: 22
+Retry-After 22
 </stdout>
 </verify>
 </testcase>

+ 1 - 1
tests/data/test1595

@@ -42,7 +42,7 @@ Accept: */*
 
 </protocol>
 <stdout>
-Retry-After: 0
+Retry-After 0
 </stdout>
 </verify>
 </testcase>

+ 1 - 1
tests/data/test1596

@@ -43,7 +43,7 @@ Accept: */*
 
 </protocol>
 <stdout>
-Retry-After: 172066
+Retry-After 172066
 </stdout>
 </verify>
 </testcase>

+ 2 - 2
tests/libtest/lib1594.c

@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, 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
@@ -53,7 +53,7 @@ int test(char *URL)
   retry += time(NULL);
   retry /= 10000;
 #endif
-  printf("Retry-After: %" CURL_FORMAT_CURL_OFF_T "\n", retry);
+  printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry);
 
 test_cleanup: