aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-24 23:33:37 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-24 23:33:37 +0100
commitfacf2925c7824254bc8d89ef67c764abadf454a3 (patch)
treeb8fdb5fdf95718a993730e1688924a74936f2172 /tests
parentbe0d4141af6de8380d24180eab316c898fcb27e1 (diff)
test1513: make sure the callback is only called once
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test15133
-rw-r--r--tests/libtest/lib1513.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test1513 b/tests/data/test1513
index 8abb96fa6..ba0c18a40 100644
--- a/tests/data/test1513
+++ b/tests/data/test1513
@@ -42,5 +42,8 @@ http://%HOSTIP:%HTTPPORT/1513
<errorcode>
42
</errorcode>
+<stdout>
+PROGRESSFUNCTION called
+</stdout>
</verify>
</testcase>
diff --git a/tests/libtest/lib1513.c b/tests/libtest/lib1513.c
index aefb57734..7a9a1a0f4 100644
--- a/tests/libtest/lib1513.c
+++ b/tests/libtest/lib1513.c
@@ -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;
}