From 3baf36edf6ed1d7c74d68846d79f87334b573aea Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sat, 2 Sep 2017 19:08:45 +0100 Subject: mime: tests and examples. Additional mime-specific tests. Existing tests updated to reflect small differences (Expect: 100-continue, data size change due to empty lines, etc). Option -F headers= keyword added to tests. test1135 disabled until the entry point order change is resolved. New example smtp-mime. Examples postit2 and multi-post converted from form API to mime API. --- tests/unit/unit1308.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/unit1308.c b/tests/unit/unit1308.c index 5c1a00867..ac41c9d4a 100644 --- a/tests/unit/unit1308.c +++ b/tests/unit/unit1308.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, 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 @@ -71,7 +71,7 @@ UNITTEST_START fail_unless(rc == 0, "curl_formget returned error"); - fail_unless(total_size == 486, "curl_formget got wrong size back"); + fail_unless(total_size == 488, "curl_formget got wrong size back"); curl_formfree(post); @@ -88,7 +88,7 @@ UNITTEST_START rc = curl_formget(post, &total_size, print_httppost_callback); fail_unless(rc == 0, "curl_formget returned error"); - fail_unless(total_size == 847, "curl_formget got wrong size back"); + fail_unless(total_size == 851, "curl_formget got wrong size back"); curl_formfree(post); -- cgit v1.2.3