[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 08/60] history reporting (nfc): Rename "existing" to "previous"


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Fri, 14 Aug 2020 18:21:13 +0100
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 14 Aug 2020 17:26:55 +0000
  • Ironport-sdr: RbQPsOt4BO8h0D6vJ8aPEhpNu3oLmc0qdbt0ewN4gzhFQPkSIpR2DEJ7yr1jiUYcuislsWGmg3 FbLC48Wdj29gtostV3Fb6dN+PO/Wdrru0yIZm/zrfeOND5XZfE5i2bL0sF7lVw9DErTMxnW0OQ hN3A0TQ24Fls56aOCx3L8AFVpMYtWAEbUm4NUdOpRB5GKpI7BnPvAuCqdVaetgCLb3/48hhciJ 5C5h4DkY57nUe+fwmHW4YlBAkWFGGUlxJaC4Aids1Ef6SFLNDNvU4KMi9o4Zh+bZbqToVtbsVw UG4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

This seems more idiomatic use of English.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 sg-report-host-history | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sg-report-host-history b/sg-report-host-history
index 2724ef27..f37dd4a2 100755
--- a/sg-report-host-history
+++ b/sg-report-host-history
@@ -32,7 +32,7 @@ our $limit= 2000;
 our $timelimit= 86400 * (366 + 14);
 our $flightlimit;
 our $htmlout = ".";
-our $read_existing=1;
+our $read_previous=1;
 our $doinstall=1;
 our $maxjobs=10;
 our @blessings;
@@ -58,7 +58,7 @@ while (@ARGV && $ARGV[0] =~ m/^-/) {
     } elsif (m/^--html-dir=(.*)$/) {
         $htmlout= $1;
     } elsif (m/^--regenerate$/) {
-        $read_existing= 0;
+        $read_previous= 0;
     } elsif (m/^--no-install$/) {
         $doinstall= 0;
     } elsif (m/^--debug/) {
@@ -84,7 +84,7 @@ sub cache_row_key ($) {
     return join $; , map { $jr->{$_} } @cache_row_key_cols;
 }
 
-sub cache_read_existing ($) {
+sub cache_read_previous ($) {
     my ($html_file) = @_;
     if (!open H, $html_file) {
         return if $!==ENOENT;
@@ -501,7 +501,7 @@ foreach my $host (sort keys %hosts) {
     my $pid = fork // die $!;
     if (!$pid) {
        opendb_tests();
-       cache_read_existing("$htmlout/$host.html") if $read_existing;
+       cache_read_previous("$htmlout/$host.html") if $read_previous;
        db_retry($dbh_tests, [], sub {
             mainquery($host);
            reporthost $host;
-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.