|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 08/60] history reporting (nfc): Rename "existing" to "previous"
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |