summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2012-10-06 21:51:43 +0200
committerMichal Minar <miminar@redhat.com>2012-10-06 21:51:43 +0200
commit1ae172139edb7648b3729b6459b9f9a6c02212b4 (patch)
tree001c30285621802c01040d6269a709dc4709489a /mof
parent4ef9ef7772d2f06f924ab6c6d23f727aa36a825a (diff)
downloadopenlmi-providers-1ae172139edb7648b3729b6459b9f9a6c02212b4.tar.gz
openlmi-providers-1ae172139edb7648b3729b6459b9f9a6c02212b4.tar.xz
openlmi-providers-1ae172139edb7648b3729b6459b9f9a6c02212b4.zip
tests rewritten to pywhon scripts
currently testing data are suitable only for Fedora 17 added README for tests lot of bug fixes support for Remove method in LMI_YumPackage provider
Diffstat (limited to 'mof')
-rw-r--r--mof/LMI_Yum.mof12
1 files changed, 10 insertions, 2 deletions
diff --git a/mof/LMI_Yum.mof b/mof/LMI_Yum.mof
index 9e821f2..74dcfca 100644
--- a/mof/LMI_Yum.mof
+++ b/mof/LMI_Yum.mof
@@ -388,6 +388,12 @@ class LMI_YumPackage : CIM_SoftwareElement {
LMI_YumInstalledPackage REF Installed
);
+ [ Description (
+ "Will uninstall installed package."),
+ ValueMap { "0", "1", "2" },
+ Values { "Not installed", "Successful removal", "Failed" } ]
+ uint32 Remove();
+
};
[ Description (
@@ -507,12 +513,14 @@ class LMI_YumFileCheck : CIM_FileSpecification {
String ExpectedLinkTarget;
[ Description("File type."),
- ValueMap { "0", "1", "2", "3", "4", "5", "6" },
+ ValueMap { "0", "1", "2", "3"
+ , "4", "5", "6" },
Values { "Unknown", "File", "Directory", "Symlink"
, "FIFO", "Character Device", "Block Device" } ]
uint16 FileType;
[ Description("File type of file in RPM database."),
- ValueMap { "0", "1", "2", "3", "4", "5", "6" },
+ ValueMap { "0", "1", "2", "3"
+ , "4", "5", "6" },
Values { "Unknown", "File", "Directory", "Symlink"
, "FIFO", "Character Device", "Block Device" } ]
uint16 ExpectedFileType;