diff options
author | Yang Tse <yangsita@gmail.com> | 2011-12-30 03:36:18 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-12-30 03:36:18 +0100 |
commit | ed0364343dc2472fdc6a390bb00c3e20152e8e6f (patch) | |
tree | 5602c9828ae26fe36e583d7975f711c35ab504a3 /tests | |
parent | 5c0ad9581dc0d59ba4e425e54589cdc2b6cb7ac5 (diff) |
removed trailing whitespace
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/first.c | 2 | ||||
-rwxr-xr-x | tests/runtests.pl | 6 | ||||
-rw-r--r-- | tests/symbol-scan.pl | 3 | ||||
-rw-r--r-- | tests/unit/README | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c index 57e6ddd79..253acb21d 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -38,7 +38,7 @@ int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc, return -1; } #ifdef USE_WINSOCK - /* + /* * Winsock select() requires that at least one of the three fd_set * pointers is not NULL and points to a non-empty fdset. IOW Winsock * select() can not be used to sleep without a single fd_set. diff --git a/tests/runtests.pl b/tests/runtests.pl index 07d23ae5c..386ed6faf 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -230,7 +230,7 @@ my %skipped; # skipped{reason}=counter, reasons for skip my @teststat; # teststat[testnum]=reason, reasons for skip my %disabled_keywords; # key words of tests to skip my %enabled_keywords; # key words of tests to run -my %disabled; # disabled test cases +my %disabled; # disabled test cases my $sshdid; # for socks server, ssh daemon version id my $sshdvernum; # for socks server, ssh daemon version number @@ -2265,7 +2265,7 @@ sub checksystem { $has_polarssl=1; $has_openssl=1; $ssllib="polarssl"; - } + } elsif ($libcurl =~ /axtls/i) { $has_axtls=1; $ssllib="axTLS"; @@ -3680,7 +3680,7 @@ sub startservers { } } elsif($what eq "ftp2") { - if($torture && $run{'ftp2'} && + if($torture && $run{'ftp2'} && !responsive_pingpong_server("ftp", "2", $verbose)) { stopserver('ftp2'); } diff --git a/tests/symbol-scan.pl b/tests/symbol-scan.pl index 279053cb9..91b859bca 100644 --- a/tests/symbol-scan.pl +++ b/tests/symbol-scan.pl @@ -110,7 +110,7 @@ for my $e (sort @syms) { # *_LAST and *_LASTENTRY are just prefix for the placeholders used for the # last entry in many enum series. # - + if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) { $ignored++; next; @@ -159,7 +159,6 @@ if($summary) { scalar(@syms)- $ignored; printf "%d symbols are listed in symbols-in-versions\n (out of which %d are listed as removed)\n", scalar(keys %doc), scalar(keys %rem); printf "%d symbols in symbols-in-versions should match the ones in headers\n", scalar(keys %doc) - scalar(keys %rem); - } if($misses) { diff --git a/tests/unit/README b/tests/unit/README index dd368f789..301cd17d5 100644 --- a/tests/unit/README +++ b/tests/unit/README @@ -62,9 +62,9 @@ UNITTEST_START fail_unless( size == 0 , "initial size should be zero" ); fail_if( head == NULL , "head should not be initiated to NULL" ); - + /* you end the test code like this: */ - + UNITTEST_STOP ----------------------- end ------------------------------- |