[Tools 2/2] winetest: Whitespace cleanups.

Francois Gouget fgouget at codeweavers.com
Thu Jul 24 09:31:40 CDT 2014


---

This is mostly about end-of-line spaces.


 winetest/dissect     | 8 ++++----
 winetest/error.cgi   | 3 +--
 winetest/gather      | 2 +-
 winetest/service.cgi | 8 ++++----
 winetest/site        | 2 +-
 5 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index bbd156b..676f089 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -82,7 +82,7 @@ sub create_box($$$)
     return $box;
 }
 
-($report,undef) = glob "$queuedir/rep*/report";
+($report, undef) = glob "$queuedir/rep*/report";
 exit 2 unless defined $report;
 
 ($tmpdir = $report) =~ s|^(.+)/report$|$1|;
@@ -206,7 +206,7 @@ if ($plid==1 && $major==4) {
         } elsif ($minor == 2) {
             $version = "win8";
         }
-    } 
+    }
 } elsif ($plid==3) {
     #$version = "ce$major$minor";
 }
@@ -340,9 +340,9 @@ while (<IN>) {
 if (defined $dll) {
     # Either winetest crashed or the report file was cut off
     if ($filesize == $maxfilesize) {
-        mydie "report reached file limit (runaway test?)\n"; 
+        mydie "report reached file limit (runaway test?)\n";
     } else {
-        mydie "report truncated (winetest crash?)\n"; 
+        mydie "report truncated (winetest crash?)\n";
     }
 }
 close SUM or mydie "error writing to '$tmpdir/summary.txt': $!\n";
diff --git a/winetest/error.cgi b/winetest/error.cgi
index b9692ac..ea77204 100755
--- a/winetest/error.cgi
+++ b/winetest/error.cgi
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# 
+#
 # This script replays errors to the wine-tests-results mailing list
 #
 # Copyright (C) 2004 Brian Vincent
@@ -43,4 +43,3 @@ if ($error) {
 
     print "OK\n";
 }
-
diff --git a/winetest/gather b/winetest/gather
index f469fb1..5b56b61 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -513,7 +513,7 @@ sub singletest($$$) {
     else
     {
         my $report = $group->{reports} ? $group->{reports}->[0] : $group;
-        $label = "$groupname $report->{tag}"; 
+        $label = "$groupname $report->{tag}";
         if (-r "$datadir/$build/$report->{dir}/$testname.html")
         {
             $href = "$report->{dir}/$testname.html";
diff --git a/winetest/service.cgi b/winetest/service.cgi
index 10e3c18..53e5f10 100755
--- a/winetest/service.cgi
+++ b/winetest/service.cgi
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# 
+#
 # This script acts as the middle man between people who build
 # tests to be distributed to Windows clients and the actual
 # Windows clients
@@ -32,8 +32,8 @@
 #   winetest/
 #            <name>.url	contains url to find latest winetests at, must be
 #			writable
-#            url.mask	contains a reg ex to match against, only needs to 
-#                       be read-only, in the above example it might be 
+#            url.mask	contains a reg ex to match against, only needs to
+#                       be read-only, in the above example it might be
 #			something like: http://myserver/com/path/to
 #            <name>.cookie contains a unique identifier of a program that
 #			winrash clients can download, must be writable
@@ -99,7 +99,7 @@ sub read_one_line($)
 ##########################################################################
 #
 # When we publish, we:
-# 1) Look for <publish key value>/url.mask that had to have been 
+# 1) Look for <publish key value>/url.mask that had to have been
 #    created by a web server admin thus ensuring this program is
 #    approved for testing
 # 2) Download the cookie for the program from that web server
diff --git a/winetest/site b/winetest/site
index a942491..16ab682 100755
--- a/winetest/site
+++ b/winetest/site
@@ -54,6 +54,6 @@ if ($q->param('testing')) {
 # redirect to data dir when no vars present
 my $base = $q->url(-base => 1);
 print $q->redirect($base . "/data/" . $build);
- 
+
 # done
 exit();
-- 
2.0.1



More information about the wine-patches mailing list