Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: I13bbeeb8f1467efc1cf8748e1a66343e879dfc8a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/bin/ssh_pw b/bin/ssh_pw
index 53ae5e9..0f7dce8 100755
--- a/bin/ssh_pw
+++ b/bin/ssh_pw
@@ -28,7 +28,7 @@
expect {
-re "Offending RSA key in (.*?)\[\r\n\]" {
# We have been informed by ssh that we have a bad key.
- # Retreive the file path and line number from the ssh output.
+ # Retrieve the file path and line number from the ssh output.
set fields [split $expect_out(1,string) ":"]
set file_path [lindex $fields 0]
set line_num [lindex $fields 1]
diff --git a/extended/test_bios_update.robot b/extended/test_bios_update.robot
index 1b4305c..af734f4 100644
--- a/extended/test_bios_update.robot
+++ b/extended/test_bios_update.robot
@@ -61,7 +61,7 @@
Run Key Wait Until Keyword Succeeds \ 7 min \ 10 sec \ Is PNOR Flash Done
Validate Power On
- [Documentation] Power the host on, and validate that the sytem booted.
+ [Documentation] Power the host on, and validate that the system booted.
[Teardown] Validate Power On Teardown
# Have to start SOL logging here. Starting SOL in test setup closes the
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index e3682cf..79ab934 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -369,7 +369,7 @@
[Documentation] Disable and re-enable the network while doing code update.
[Arguments] ${image_file_path} ${reboot}
- # Reseting the network will be done via the serial console.
+ # Resetting the network will be done via the serial console.
#
# Description of argument(s):
# image_file_path Path to the image file to update to.
diff --git a/lib/connection_client.robot b/lib/connection_client.robot
index dc8834d..3a51f60 100755
--- a/lib/connection_client.robot
+++ b/lib/connection_client.robot
@@ -75,7 +75,7 @@
# alias The alias of the connection to validate.
# host The DNS name or IP of the host to validate.
- # connection_args A dictionary of arguments to pass to Open Conection
+ # connection_args A dictionary of arguments to pass to Open Connection
# and Log In (see above) if the connection is not open. May
# contain, but does not need to contain, the host or alias.
diff --git a/lib/dump_utils.robot b/lib/dump_utils.robot
index 2e97070..270e234 100644
--- a/lib/dump_utils.robot
+++ b/lib/dump_utils.robot
@@ -48,7 +48,7 @@
[Arguments] ${dump_id}
# Description of Argument(s):
- # dump_id An interger value that identifies a particular dump (e.g. 1, 3).
+ # dump_id An integer value that identifies a particular dump (e.g. 1, 3).
${data}= Create Dictionary data=@{EMPTY}
${resp}= OpenBMC Post Request
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 7ea6892..2a3b743 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -69,7 +69,7 @@
[Arguments] ${args} ${os_host}=${OS_HOST} ${os_username}=${OS_USERNAME}
... ${os_password}=${OS_PASSWORD}
- # Desription of arguments:
+ # Description of arguments:
# ${args} parameters to IPMI command.
# ${os_host} IP address of the OS Host.
# ${os_username} OS Host Login user name.
@@ -88,7 +88,7 @@
[Arguments] ${args} ${os_host}=${OS_HOST} ${os_username}=${OS_USERNAME}
... ${os_password}=${OS_PASSWORD}
- # Desription of arguments:
+ # Description of arguments:
# ${args} parameters to IPMI command.
# ${os_host} IP address of the OS Host.
# ${os_username} OS Host Login user name.
diff --git a/lib/open_power_utils.robot b/lib/open_power_utils.robot
index 327b67b..e9dd042 100644
--- a/lib/open_power_utils.robot
+++ b/lib/open_power_utils.robot
@@ -36,7 +36,7 @@
Count Object Entries
- [Documentation] Count the occurence number of a given object.
+ [Documentation] Count the occurrence number of a given object.
[Arguments] ${object_base_uri_path} ${object_name}
# Description of argument(s):
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 27e9b77..037c921 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -14,7 +14,7 @@
# -------------------
# -----------------------------------------------------------------
-# Dict Name { Index string : { Key String : Comand string} }
+# Dict Name { Index string : { Key String : Command string} }
# -----------------------------------------------------------------
# Add cmd's needed to be part of the ffdc report manifest file
FFDC_BMC_CMD = {
diff --git a/lib/openbmc_ffdc_methods.robot b/lib/openbmc_ffdc_methods.robot
index a451f3d..df8bab7 100755
--- a/lib/openbmc_ffdc_methods.robot
+++ b/lib/openbmc_ffdc_methods.robot
@@ -318,7 +318,7 @@
##############################################################################
Collect eSEL Log
[Documentation] Collect eSEL log from logging entry and convert eSEL data
- ... to elog formated string text file.
+ ... to elog formatted string text file.
[Arguments] ${log_prefix_path}=${LOG_PREFIX}
${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}/enumerate quiet=${1}
@@ -374,7 +374,7 @@
[Documentation] Execute parser tool on the eSEL data file to generate
... formatted error log.
[Arguments] ${esel_file_path}
- # Desription of arguments:
+ # Description of arguments:
# esel_file_path Absolute path of the eSEL data (e.g.
# /tmp/w55.170404.154820.esel).
diff --git a/lib/rest_client.robot b/lib/rest_client.robot
index 67170d9..f82cc3c 100644
--- a/lib/rest_client.robot
+++ b/lib/rest_client.robot
@@ -116,7 +116,7 @@
# Description of argument(s):
# timeout REST login attempt time out.
- # quiet Supress console log if set.
+ # quiet Suppress console log if set.
# TODO : Task to revert this changes openbmc/openbmc-test-automation#532
# This will retry at 20 second interval.
@@ -128,7 +128,7 @@
# Description of argument(s):
# timeout REST login attempt time out.
- # quiet Supress console log if set.
+ # quiet Suppress console log if set.
Create Session openbmc ${AUTH_URI} timeout=${timeout} max_retries=3
${headers}= Create Dictionary Content-Type=application/json
diff --git a/lib/utils.robot b/lib/utils.robot
index 58a73e8..69b28ad 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -488,7 +488,7 @@
[Documentation] Create OS console file path name and return it.
[Arguments] ${log_file_path}=${EMPTY}
- # Description of arguements:
+ # Description of arguments:
# file_path The caller's candidate value. If this value is ${EMPTY}, this
# keyword will compose a file path name. Otherwise, this
# keyword will use the caller's file_path value. In either
@@ -982,7 +982,7 @@
[Documentation] Login to OS Host.
[Arguments] ${os_host}=${OS_HOST} ${os_username}=${OS_USERNAME}
... ${os_password}=${OS_PASSWORD}
- # Desription of arguments:
+ # Description of arguments:
# ${os_host} IP address of the OS Host.
# ${os_username} OS Host Login user name.
# ${os_password} OS Host Login passwrd.
diff --git a/syslib/utils_os.robot b/syslib/utils_os.robot
index 44521b4..e358e9f 100755
--- a/syslib/utils_os.robot
+++ b/syslib/utils_os.robot
@@ -363,7 +363,7 @@
[Return] ${output}
Verify JSON String
- [Documentation] Ensure the JSON string content is seperated by commas.
+ [Documentation] Ensure the JSON string content is separated by commas.
[Arguments] ${unver_string}
# Description of argument(s):
# unver_string JSON String we will be checking for lshw comma errors.
diff --git a/templates/bash_simple_template b/templates/bash_simple_template
index 85f992c..80eecbd 100755
--- a/templates/bash_simple_template
+++ b/templates/bash_simple_template
@@ -1,7 +1,7 @@
#!/bin/bash
# Template to start a simple bash program. This is designed only for the
-# simplest of programs where all program paramters are positional, there is no
+# simplest of programs where all program parameters are positional, there is no
# help text, etc.
# Description of argument(s):
diff --git a/test_lists/skip_test_extended b/test_lists/skip_test_extended
index ab19d12..160beb0 100644
--- a/test_lists/skip_test_extended
+++ b/test_lists/skip_test_extended
@@ -25,7 +25,7 @@
-e Full_Suite_Regression
-e AC_Cycles
-e Network_Nping
-# Mutliple runs only needed for stability.
+# Multiple runs only needed for stability.
-e Run_Multiple_Power_Cycle
-e Run_Multiple_Reboot
-e General_boot_testing
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index ded136d..cb7b365 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -71,7 +71,7 @@
[Documentation] Verify invalid SOL's retry count via IPMI.
[Tags] Set_Invalid_SOL_Retry_Count
- # Any interger above 7 is invalid for SOL retry count.
+ # Any integer above 7 is invalid for SOL retry count.
${value}= Evaluate random.randint(8, 10000) modules=random
${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
@@ -83,7 +83,7 @@
[Documentation] Verify invalid SOL's retry interval via IPMI.
[Tags] Set_Invalid_SOL_Retry_Interval
- # Any interger above 255 is invalid for SOL retry interval.
+ # Any integer above 255 is invalid for SOL retry interval.
${value}= Evaluate random.randint(256, 10000) modules=random
${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
@@ -107,7 +107,7 @@
[Documentation] Verify invalid SOL's character send threshold via IPMI.
[Tags] Set_Invalid_SOL_Character_Send_Threshold
- # Any interger above 255 is invalid for SOL character send threshold.
+ # Any integer above 255 is invalid for SOL character send threshold.
${value}= Evaluate random.randint(256, 10000) modules=random
${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
diff --git a/tests/test_reset_reload.robot b/tests/test_reset_reload.robot
index 179a481..89eb407 100644
--- a/tests/test_reset_reload.robot
+++ b/tests/test_reset_reload.robot
@@ -38,7 +38,7 @@
*** Keywords ***
Check Reset Reload Status
- [Documentation] Retuns reset reload status based on file presence.
+ [Documentation] Returns reset reload status based on file presence.
${rr_status}= Execute Command On BMC
... test -e /run/openbmc/chassis@0-on && echo "Yes" || echo "No"
diff --git a/tests/test_user.robot b/tests/test_user.robot
index 952c4b8..6da38ba 100755
--- a/tests/test_user.robot
+++ b/tests/test_user.robot
@@ -5,7 +5,7 @@
... instance per test case however we end up running multiple
... test and multiple iteration. This creates scenario where
... the same previous user is generated.
-... As a good pratice, clean up all the users at the end of
+... As a good practice, clean up all the users at the end of
... test.
Resource ../lib/rest_client.robot
diff --git a/tools/oem/ibm/gen_csv_results.py b/tools/oem/ibm/gen_csv_results.py
index c733a61..483a2c5 100755
--- a/tools/oem/ibm/gen_csv_results.py
+++ b/tools/oem/ibm/gen_csv_results.py
@@ -132,7 +132,7 @@
def get_system_details(xml_file_path):
r"""
Get the system data from output.xml generated by robot and return it.
- The list returned will be in the following order: [driver,platfrom]
+ The list returned will be in the following order: [driver,platform]
Description of arguments:
xml_file_path The relative or absolute path to the output.xml file.