]> granicus.if.org Git - curl/commitdiff
test1513: make sure the callback is only called once
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Nov 2015 22:33:37 +0000 (23:33 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Nov 2015 22:33:37 +0000 (23:33 +0100)
tests/data/test1513
tests/libtest/lib1513.c

index 8abb96fa608b4467616b142c09e3d67bcf86d984..ba0c18a407979f5c044c93c5c75192509eeb870a 100644 (file)
@@ -42,5 +42,8 @@ http://%HOSTIP:%HTTPPORT/1513
 <errorcode>
 42
 </errorcode>
+<stdout>
+PROGRESSFUNCTION called
+</stdout>
 </verify>
 </testcase>
index aefb57734547a6c194ef63f893b7db33cdab78d2..7a9a1a0f42ee6247f23851e0573441744dc59f49 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, 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
@@ -41,6 +41,7 @@ static int progressKiller(void *arg,
   (void)dlnow;
   (void)ultotal;
   (void)ulnow;
+  printf("PROGRESSFUNCTION called\n");
   return 1;
 }