testbot: A few spelling fixes and small wording tweaks.

Francois Gouget fgouget at codeweavers.com
Sun Mar 24 17:41:35 CDT 2013


---
 testbot/bin/Engine.pl                 |    2 +-
 testbot/lib/ObjectModel/Item.pm       |    2 +-
 testbot/lib/WineTestBot/Jobs.pm       |    2 +-
 testbot/lib/WineTestBot/Patches.pm    |    2 +-
 testbot/lib/WineTestBot/StepsTasks.pm |    2 +-
 testbot/lib/WineTestBot/Tasks.pm      |    2 +-
 testbot/lib/WineTestBot/VMs.pm        |    6 +++---
 testbot/web/ForgotPassword.pl         |    2 +-
 testbot/web/JobDetails.pl             |    2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/testbot/bin/Engine.pl b/testbot/bin/Engine.pl
index 489c686..da3e54c 100755
--- a/testbot/bin/Engine.pl
+++ b/testbot/bin/Engine.pl
@@ -415,7 +415,7 @@ sub InitVMs()
 
 =item C<SafetyNet()>
 
-This is called on startup and regularly after that to catch thing that fall
+This is called on startup and regularly after that to catch things that fall
 through the cracks, possibly because of an Engine restart.
 Specifically it updates the status of all the current Jobs, Steps and
 Tasks, then schedules Tasks to be run, checks the staging directory for
diff --git a/testbot/lib/ObjectModel/Item.pm b/testbot/lib/ObjectModel/Item.pm
index 94ad8e6..48864f4 100644
--- a/testbot/lib/ObjectModel/Item.pm
+++ b/testbot/lib/ObjectModel/Item.pm
@@ -184,7 +184,7 @@ sub AUTOLOAD
   my $self = shift;
 
   my $PropertyName = $ObjectModel::Item::AUTOLOAD;
-  # strip fully-qualfied portion
+  # strip fully-qualified portion
   $PropertyName =~ s/.*://;
   if ($PropertyName eq "DESTROY")
   {
diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm
index 4c20948..cd6c427 100644
--- a/testbot/lib/WineTestBot/Jobs.pm
+++ b/testbot/lib/WineTestBot/Jobs.pm
@@ -155,7 +155,7 @@ sub UpdateStatus($)
   # Inherit the steps most significant status with some caveats:
   # - if one of the steps is still queued then this job is still running
   # - if a step is skipped it's either because a previous step failed or because
-  #   the user cancelled the job. In both cases mark the job as failed
+  #   the user canceled the job. In both cases mark the job as failed
   # - if all the steps are still queued, then this job's original status,
   #   'queued', is still valid
   foreach my $StepStatus ("running", "failed", "skipped", "completed")
diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index c2262c7..22e00e1 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -386,7 +386,7 @@ sub IsTestPatch
 
 =item C<NewPatch()>
 
-Creates a WineTestBot::Patch object for the given message. If that the message
+Creates a WineTestBot::Patch object for the given message. If the message
 does impact Wine's tests then the Patch object disposition is set and no
 further action is performed. Otherwise if the patch is part of a series then
 it gets tied to a WineTestBot::PendingPatchSet object by
diff --git a/testbot/lib/WineTestBot/StepsTasks.pm b/testbot/lib/WineTestBot/StepsTasks.pm
index 810d5c4..f49fa68 100644
--- a/testbot/lib/WineTestBot/StepsTasks.pm
+++ b/testbot/lib/WineTestBot/StepsTasks.pm
@@ -108,7 +108,7 @@ BEGIN
     CreateBasicPropertyDescriptor("FileName", "File name",  !1,  1, "A", 64),
     CreateBasicPropertyDescriptor("FileType", "File Type",  !1,  1, "A", 64),
     CreateBasicPropertyDescriptor("CmdLineArg", "Command line args", !1, !1, "A", 256),
-    CreateBasicPropertyDescriptor("ChildPid", "Process id of child process", !1, !1, "N", 5),
+    CreateBasicPropertyDescriptor("ChildPid", "Child process id", !1, !1, "N", 5),
     CreateBasicPropertyDescriptor("Started", "Execution started", !1, !1, "DT", 19),
     CreateBasicPropertyDescriptor("Ended", "Execution ended", !1, !1, "DT", 19),
     CreateBasicPropertyDescriptor("TestFailures", "Number of test failures", !1, !1, "N", 5),
diff --git a/testbot/lib/WineTestBot/Tasks.pm b/testbot/lib/WineTestBot/Tasks.pm
index fa53b07..56028d8 100644
--- a/testbot/lib/WineTestBot/Tasks.pm
+++ b/testbot/lib/WineTestBot/Tasks.pm
@@ -206,7 +206,7 @@ BEGIN
     CreateItemrefPropertyDescriptor("VM", "VM", !1,  1, \&CreateVMs, ["VMName"]),
     CreateBasicPropertyDescriptor("Timeout", "Timeout", !1, 1, "N", 4),
     CreateBasicPropertyDescriptor("CmdLineArg", "Command line args", !1, !1, "A", 256),
-    CreateBasicPropertyDescriptor("ChildPid", "Process id of child process", !1, !1, "N", 5),
+    CreateBasicPropertyDescriptor("ChildPid", "Child process id", !1, !1, "N", 5),
     CreateBasicPropertyDescriptor("Started", "Execution started", !1, !1, "DT", 19),
     CreateBasicPropertyDescriptor("Ended", "Execution ended", !1, !1, "DT", 19),
     CreateBasicPropertyDescriptor("TestFailures", "Number of test failures", !1, !1, "N", 6),
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index ed3282c..fd064a1 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -586,7 +586,7 @@ sub CountPoweredOnNonBaseVMs
 {
   my $self = shift;
 
-  my $PowerdOnVMs = 0;
+  my $PoweredOnVMs = 0;
   foreach my $VM (@{$self->GetItems()})
   {
     my $VMStatus = $VM->Status;
@@ -596,11 +596,11 @@ sub CountPoweredOnNonBaseVMs
          $VMStatus eq "idle" ||
          $VMStatus eq "running"))
     {
-      $PowerdOnVMs++;
+      $PoweredOnVMs++;
     }
   }
 
-  return $PowerdOnVMs;
+  return $PoweredOnVMs;
 }
 
 sub SortKeysBySortOrder
diff --git a/testbot/web/ForgotPassword.pl b/testbot/web/ForgotPassword.pl
index 5a9d71f..a22d441 100644
--- a/testbot/web/ForgotPassword.pl
+++ b/testbot/web/ForgotPassword.pl
@@ -44,7 +44,7 @@ sub _initialize
 
 sub GetTitle
 {
-  return "Reset passwor";
+  return "Reset password";
 }
 
 sub GetHeaderText
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index b191327..11bb122 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -245,7 +245,7 @@ sub GenerateBody
     my $Action = $self->GetParam("Action");
     if ($Action eq "Cancel job")
     {
-      print "<p>Job will be cancelled.</p>\n";
+      print "<p>Job will be canceled.</p>\n";
     }
     elsif ($Action eq "Restart job")
     {
-- 
1.7.10.4



More information about the wine-patches mailing list