1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

oeqa: fix typo

The word 'uninstall' was spelled incorrectly in various parts of
oeqa files.

(From OE-Core rev: af365e025030436f83b233fa51ecc9c58c58ce3c)

(From OE-Core rev: 9d25188e873645b849584b51a77b86588a51d4ba)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Humberto Ibarra
2017-02-13 11:25:37 -06:00
committed by Richard Purdie
parent 88bda7d78d
commit 5ff7db946c
4 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -106,7 +106,7 @@ class oeRuntimeTest(oeTest):
pass
def tearDown(self):
# Unistall packages in the DUT
# Uninstall packages in the DUT
self.tc.install_uninstall_packages(self.id(), False)
res = getResults()
@@ -546,7 +546,7 @@ class RuntimeTestContext(TestContext):
def install_uninstall_packages(self, test_id, pkg_dir, install):
"""
Check if the test requires a package and Install/Unistall it in the DUT
Check if the test requires a package and Install/Uninstall it in the DUT
"""
test = test_id.split(".")[4]
@@ -559,7 +559,7 @@ class RuntimeTestContext(TestContext):
def _install_uninstall_packages(self, needed_packages, pkg_dir, install=True):
"""
Install/Unistall packages in the DUT without using a package manager
Install/Uninstall packages in the DUT without using a package manager
"""
if isinstance(needed_packages, dict):
@@ -577,7 +577,7 @@ class RuntimeTestContext(TestContext):
if install and extract:
self.target.connection.copy_dir_to(src_dir, "/")
# Unistall package
# Uninstall package
elif not install and rm:
self.target.connection.delete_dir_structure(src_dir, "/")
@@ -600,7 +600,7 @@ class ImageTestContext(RuntimeTestContext):
def install_uninstall_packages(self, test_id, install=True):
"""
Check if the test requires a package and Install/Unistall it in the DUT
Check if the test requires a package and Install/Uninstall it in the DUT
"""
pkg_dir = self.d.getVar("TEST_EXTRACTED_DIR")
@@ -623,7 +623,7 @@ class ExportTestContext(RuntimeTestContext):
def install_uninstall_packages(self, test_id, install=True):
"""
Check if the test requires a package and Install/Unistall it in the DUT
Check if the test requires a package and Install/Uninstall it in the DUT
"""
export_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
+1 -1
View File
@@ -102,7 +102,7 @@ class TestImage(oeSelfTest):
"""
Summary: Check install packages functionality for testimage/testexport.
Expected: 1. Import tests from a directory other than meta.
2. Check install/unistall of socat.
2. Check install/uninstall of socat.
Product: oe-core
Author: Mariano Lopez <mariano.lopez@intel.com>
"""
+2 -2
View File
@@ -187,7 +187,7 @@ def test_needs_package(test_case):
def _install_uninstall_packages(needed_packages, test_case, install=True):
"""
Install/Unistall packages in the DUT without using a package manager
Install/Uninstall packages in the DUT without using a package manager
"""
if isinstance(needed_packages, dict):
@@ -205,6 +205,6 @@ def _install_uninstall_packages(needed_packages, test_case, install=True):
if install and extract:
test_case.tc.target.copyDirTo(src_dir, '/')
# Unistall package
# Uninstall package
elif not install and rm:
test_case.tc.target.deleteDirStructure(src_dir, '/')