From b801b453af6de75838c3298137628f05e94ffb48 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 23 Sep 2018 22:24:02 +0000 Subject: whitespace fixes - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037 --- tests/libtest/Makefile.am | 4 ++-- tests/libtest/lib1507.c | 2 -- tests/libtest/lib1512.c | 1 - tests/libtest/lib1520.c | 2 -- tests/libtest/lib1526.c | 1 - tests/libtest/lib1531.c | 1 - tests/libtest/lib1533.c | 1 - tests/libtest/lib500.c | 1 - tests/libtest/lib501.c | 1 - tests/libtest/lib502.c | 1 - tests/libtest/lib503.c | 1 - tests/libtest/lib504.c | 1 - tests/libtest/lib506.c | 1 - tests/libtest/lib509.c | 1 - tests/libtest/lib512.c | 1 - tests/libtest/lib519.c | 1 - tests/libtest/lib521.c | 1 - tests/libtest/lib523.c | 1 - tests/libtest/lib524.c | 1 - tests/libtest/lib547.c | 1 - tests/libtest/lib549.c | 1 - tests/libtest/lib555.c | 1 - tests/libtest/lib556.c | 1 - tests/libtest/lib558.c | 1 - tests/libtest/lib559.c | 1 - tests/libtest/lib566.c | 1 - tests/libtest/lib567.c | 1 - tests/libtest/lib568.c | 1 - tests/libtest/lib569.c | 1 - tests/libtest/lib570.c | 1 - tests/libtest/lib571.c | 1 - tests/libtest/lib572.c | 1 - tests/libtest/lib573.c | 1 - tests/libtest/lib586.c | 1 - tests/libtest/lib590.c | 1 - tests/libtest/lib598.c | 1 - tests/libtest/libauthretry.c | 1 - tests/libtest/sethostname.h | 1 - tests/libtest/stub_gssapi.h | 1 - tests/libtest/testtrace.c | 1 - tests/libtest/testtrace.h | 1 - tests/libtest/testutil.h | 1 - 42 files changed, 2 insertions(+), 45 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am index dc97e327e..56c84a765 100644 --- a/tests/libtest/Makefile.am +++ b/tests/libtest/Makefile.am @@ -44,8 +44,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ -I$(top_srcdir)/lib endif -EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \ -test1022.pl Makefile.inc notexists.pl CMakeLists.txt mk-lib1521.pl +EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \ + test1022.pl Makefile.inc notexists.pl CMakeLists.txt mk-lib1521.pl CFLAG_CURL_SYMBOL_HIDING = @CFLAG_CURL_SYMBOL_HIDING@ diff --git a/tests/libtest/lib1507.c b/tests/libtest/lib1507.c index 5e3a5926a..dc023a079 100644 --- a/tests/libtest/lib1507.c +++ b/tests/libtest/lib1507.c @@ -147,5 +147,3 @@ test_cleanup: return res; } - - diff --git a/tests/libtest/lib1512.c b/tests/libtest/lib1512.c index 5e794b293..1c2578958 100644 --- a/tests/libtest/lib1512.c +++ b/tests/libtest/lib1512.c @@ -88,4 +88,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib1520.c b/tests/libtest/lib1520.c index 4d5b0c88c..c6ac64bb4 100644 --- a/tests/libtest/lib1520.c +++ b/tests/libtest/lib1520.c @@ -111,5 +111,3 @@ test_cleanup: return (int)res; } - - diff --git a/tests/libtest/lib1526.c b/tests/libtest/lib1526.c index 704ae497d..663465799 100644 --- a/tests/libtest/lib1526.c +++ b/tests/libtest/lib1526.c @@ -101,4 +101,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib1531.c b/tests/libtest/lib1531.c index 953f062d8..4a4dc133a 100644 --- a/tests/libtest/lib1531.c +++ b/tests/libtest/lib1531.c @@ -155,4 +155,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib1533.c b/tests/libtest/lib1533.c index ada94b940..962a222ec 100644 --- a/tests/libtest/lib1533.c +++ b/tests/libtest/lib1533.c @@ -197,4 +197,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib500.c b/tests/libtest/lib500.c index 2a6c58bb5..8d9b92129 100644 --- a/tests/libtest/lib500.c +++ b/tests/libtest/lib500.c @@ -154,4 +154,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib501.c b/tests/libtest/lib501.c index af65bd4d7..4549cb648 100644 --- a/tests/libtest/lib501.c +++ b/tests/libtest/lib501.c @@ -56,4 +56,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib502.c b/tests/libtest/lib502.c index ce4bc47d1..df8905c84 100644 --- a/tests/libtest/lib502.c +++ b/tests/libtest/lib502.c @@ -89,4 +89,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index 15b45f95b..00791edf5 100644 --- a/tests/libtest/lib503.c +++ b/tests/libtest/lib503.c @@ -99,4 +99,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index 771b2038a..8d1fe506e 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -111,4 +111,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib506.c b/tests/libtest/lib506.c index 5ed4f37ea..9f656e032 100644 --- a/tests/libtest/lib506.c +++ b/tests/libtest/lib506.c @@ -377,4 +377,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 4f3e072ae..59ced355f 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -144,4 +144,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib512.c b/tests/libtest/lib512.c index 0c83ddd53..8a6f0e149 100644 --- a/tests/libtest/lib512.c +++ b/tests/libtest/lib512.c @@ -72,4 +72,3 @@ int test(char *URL) return rc; } - diff --git a/tests/libtest/lib519.c b/tests/libtest/lib519.c index 5c55aebe6..73da7d5ca 100644 --- a/tests/libtest/lib519.c +++ b/tests/libtest/lib519.c @@ -60,4 +60,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib521.c b/tests/libtest/lib521.c index b7efca0be..8d9aa2e2c 100644 --- a/tests/libtest/lib521.c +++ b/tests/libtest/lib521.c @@ -54,4 +54,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib523.c b/tests/libtest/lib523.c index 44aa2e2e9..450438939 100644 --- a/tests/libtest/lib523.c +++ b/tests/libtest/lib523.c @@ -55,4 +55,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib524.c b/tests/libtest/lib524.c index 08fd34dfc..fe0a8ed21 100644 --- a/tests/libtest/lib524.c +++ b/tests/libtest/lib524.c @@ -53,4 +53,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib547.c b/tests/libtest/lib547.c index 3db4890de..3cfc81d29 100644 --- a/tests/libtest/lib547.c +++ b/tests/libtest/lib547.c @@ -128,4 +128,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib549.c b/tests/libtest/lib549.c index 1d832b536..bb41cd619 100644 --- a/tests/libtest/lib549.c +++ b/tests/libtest/lib549.c @@ -63,4 +63,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib555.c b/tests/libtest/lib555.c index c887b56f0..42c89d8c9 100644 --- a/tests/libtest/lib555.c +++ b/tests/libtest/lib555.c @@ -161,4 +161,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib556.c b/tests/libtest/lib556.c index 884f413aa..69b2c09dd 100644 --- a/tests/libtest/lib556.c +++ b/tests/libtest/lib556.c @@ -106,4 +106,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib558.c b/tests/libtest/lib558.c index 09a50d6b6..d9969738a 100644 --- a/tests/libtest/lib558.c +++ b/tests/libtest/lib558.c @@ -50,4 +50,3 @@ int test(char *URL) return (int)res; } - diff --git a/tests/libtest/lib559.c b/tests/libtest/lib559.c index 8c72dbd0c..be112b8f3 100644 --- a/tests/libtest/lib559.c +++ b/tests/libtest/lib559.c @@ -53,4 +53,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib566.c b/tests/libtest/lib566.c index ecf8c5530..257738a4f 100644 --- a/tests/libtest/lib566.c +++ b/tests/libtest/lib566.c @@ -65,4 +65,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib567.c b/tests/libtest/lib567.c index 64fb29afb..7a730d26a 100644 --- a/tests/libtest/lib567.c +++ b/tests/libtest/lib567.c @@ -67,4 +67,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/lib568.c b/tests/libtest/lib568.c index 3bb53f61e..c1388f16f 100644 --- a/tests/libtest/lib568.c +++ b/tests/libtest/lib568.c @@ -175,4 +175,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib569.c b/tests/libtest/lib569.c index c18c882b9..9c25db45d 100644 --- a/tests/libtest/lib569.c +++ b/tests/libtest/lib569.c @@ -125,4 +125,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib570.c b/tests/libtest/lib570.c index 1756a8615..d88f100f3 100644 --- a/tests/libtest/lib570.c +++ b/tests/libtest/lib570.c @@ -113,4 +113,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c index 70524f2f2..c048747d9 100644 --- a/tests/libtest/lib571.c +++ b/tests/libtest/lib571.c @@ -212,4 +212,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib572.c b/tests/libtest/lib572.c index a78c9358d..82d5049d0 100644 --- a/tests/libtest/lib572.c +++ b/tests/libtest/lib572.c @@ -181,4 +181,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib573.c b/tests/libtest/lib573.c index eb817b1ed..e80824d16 100644 --- a/tests/libtest/lib573.c +++ b/tests/libtest/lib573.c @@ -111,4 +111,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib586.c b/tests/libtest/lib586.c index a831b83d4..247422483 100644 --- a/tests/libtest/lib586.c +++ b/tests/libtest/lib586.c @@ -244,4 +244,3 @@ test_cleanup: return res; } - diff --git a/tests/libtest/lib590.c b/tests/libtest/lib590.c index cc3afdf06..db433fb9e 100644 --- a/tests/libtest/lib590.c +++ b/tests/libtest/lib590.c @@ -69,4 +69,3 @@ int test(char *URL) return (int)res; } - diff --git a/tests/libtest/lib598.c b/tests/libtest/lib598.c index c27e60b14..bd544701e 100644 --- a/tests/libtest/lib598.c +++ b/tests/libtest/lib598.c @@ -70,4 +70,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c index e9dc0508b..8e348ad19 100644 --- a/tests/libtest/libauthretry.c +++ b/tests/libtest/libauthretry.c @@ -145,4 +145,3 @@ test_cleanup: return (int)res; } - diff --git a/tests/libtest/sethostname.h b/tests/libtest/sethostname.h index 1a1c0775b..7a590428b 100644 --- a/tests/libtest/sethostname.h +++ b/tests/libtest/sethostname.h @@ -38,4 +38,3 @@ LIBHOSTNAME_EXTERN int FUNCALLCONV gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen); - diff --git a/tests/libtest/stub_gssapi.h b/tests/libtest/stub_gssapi.h index 9a302f0f5..95726d794 100644 --- a/tests/libtest/stub_gssapi.h +++ b/tests/libtest/stub_gssapi.h @@ -180,4 +180,3 @@ OM_uint32 gss_display_status(OM_uint32 * /*minor_status*/, gss_buffer_t /*status_string*/); #endif /* HEADER_CURL_GSSAPI_STUBS_H */ - diff --git a/tests/libtest/testtrace.c b/tests/libtest/testtrace.c index 3f9eedd80..0a98d006f 100644 --- a/tests/libtest/testtrace.c +++ b/tests/libtest/testtrace.c @@ -142,4 +142,3 @@ int libtest_debug_cb(CURL *handle, curl_infotype type, libtest_debug_dump(timebuf, text, stderr, data, size, trace_cfg->nohex); return 0; } - diff --git a/tests/libtest/testtrace.h b/tests/libtest/testtrace.h index fafdf2992..a09ce348f 100644 --- a/tests/libtest/testtrace.h +++ b/tests/libtest/testtrace.h @@ -34,4 +34,3 @@ int libtest_debug_cb(CURL *handle, curl_infotype type, void *userp); #endif /* HEADER_LIBTEST_TESTTRACE_H */ - diff --git a/tests/libtest/testutil.h b/tests/libtest/testutil.h index f2aeae642..6c063ea57 100644 --- a/tests/libtest/testutil.h +++ b/tests/libtest/testutil.h @@ -42,4 +42,3 @@ double tutil_tvdiff_secs(struct timeval t1, struct timeval t2); #endif /* HEADER_CURL_LIBTEST_TESTUTIL_H */ - -- cgit v1.2.3