From facf2925c7824254bc8d89ef67c764abadf454a3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Nov 2015 23:33:37 +0100 Subject: [PATCH] test1513: make sure the callback is only called once --- tests/data/test1513 | 3 +++ tests/libtest/lib1513.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 42 + +PROGRESSFUNCTION called + 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, , et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, , 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; }