| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If dmidecode doesn't report correct cpu cores or cpu threads, use the values
from lscpu.
|
| |
|
| |
|
| |
|
|
|
|
| |
PCI Bridges have subsystem id and vendor stored in capabilities, not in header.
|
|
|
|
| |
Test that unicode characters work at least for package files.
|
|
|
|
|
|
| |
When comparing instance names, treat unicode and str objects the same.
Byte strings are supposed to use utf-8 encoding. Therefor unicode
strings need to be encoded before comparison.
|
|
|
|
|
|
| |
* be more picky when choosing bank locator
* take into account Configured Clock Speed field from dmidecode
* display speed only if the data is available
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This commit disables automatic registration of openlmi-pcp because the
mof and reg files don't exist when package is installed
It also adds a check if the openlmi-pcp provider is installed when
uninstalling.
|
|
|
|
| |
Resolves: rhbz#1031650
|
|
|
|
|
|
| |
No standard review process was reached.
No review process was reached.
|
| |
|
| |
|
|
|
|
| |
Updated copyright years to include new year 2014.
|
|
|
|
| |
This patch removes trailing spaces from source files.
|
| |
|
| |
|
|
|
|
|
|
| |
Renamed LMI_ATAProtocolEndpointProvider to
LMI_DiskDriveATAProtocolEndpointProvider so the name matches the pattern used in
all disk drive classes.
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveDeviceSAPImplementationProvider
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveATAPortProvider
|
|
|
|
|
|
|
|
|
| |
Glibc provides convenient lock functions to protect passwd and shadow files.
This commit makes use of them for any write operation.
Read access is still unprotected for the time being for performance reasons.
https://fedorahosted.org/openlmi/ticket/205
|
|
|
|
|
| |
New provider:
* LMI_DiskDriveSAPAvailableForElement
|
|
|
|
|
| |
Set there properties on output, meaning when GetInstance() is invoked,
only when they are empty. Otherwise leave them unchanged.
|
|
|
|
|
| |
Under some environments umask may be set to 0077 which caused
unexpected results in tests. File mode checks did not pass.
|
|
|
|
|
|
|
| |
Some functions, such as readdir() and dirname(), are not
thread-safe. Use equivalent glib functions.
trac: #173
|
|
|
|
|
| |
Add a couple of changes that were in the Fedora spec file and not
upstream. They should differ as little as possible.
|
|
|
|
|
|
| |
Update OpenLMI 1.0.1 metapackage definition to contain
openlmi-providers = 0.4.2, openlmi-networking >= 0.2.2 and
openlmi-storage >= 0.7.1
|
|
|
|
|
|
|
|
|
|
| |
When openlmi metapackage defines its Version and Release, it overrides
%{version} and %{release} globals and all it usages will be replaced by
version and release of metapackage instead of version and release of
openlmi-providers package as was expected.
This patch introduces new globals that ensures that the correct version
and release are used in the requirements and scripts.
|
| |
|
|
|
|
|
| |
New Provider:
* LMI_ATAProtocolEndpoint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some tests expect that exceptions won't be thrown out of LMIShell's
functions. Others prefers them and enable them globally. This causes
problems when running under nosetests all provider tests at once.
Tests that modified enablement of exception throws globally caused
others to fail.
This patch makes sure that each TestCase has defined use of exceptions.
Default state is to have them disabled. If a TestCase prefers having
them enabled, just one variable needs to be overriden in its body:
class AccountBase(lmibase.LmiTestCase):
USE_EXCEPTIONS = True
|
| |
|
| |
|
|
|
|
|
| |
The previous commit b915ee1ef9a4ebe bumped minor version number instead
of major one that is more suitable for symbol hiding case.
|
| |
|
|
|
|
|
|
|
|
| |
There is wrong prefix before LMI_SoftwareInstallationService class
making verification example not working.
Related: rhbz#1027681
upstream track ticket: #175
|
|
|
|
|
|
| |
* peak() method used to lock wrong mutex, which could cause a deadlock.
* pop_reply() method could block if non-blocking access had been requested.
|
|
|
|
|
|
|
|
|
|
| |
* Suppress warnings when removing testing packages that may have been
modified by finished test. Whe some installed file were missing, rpm
produced ugly warnings and errors.
* Set LC_ALL=C when running yum and parsing its output. Otherwise
numbers get localized, which confuses the parser.
* Allow to run tests from another directory.
* Minor cleanups and docstrings corrections.
|
|
|
|
|
|
|
|
| |
The spec %cmake macro creates a build sub directory, conflicting with
Fedora's %cmake.
This patch introduces a target_builddir macro which equals
%{_target_platform}/build for SUSE and %{_target_platform} else.
|
| |
|