[PATCH] [TEST] Fixing HostedDependency/04_reverse_errs.py

# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1251789710 25200 # Node ID 4ccfbf5da9c6a03d994246d415c4ada5484594bc # Parent 95fa64bf447e5bc2bab501564e3d9336edef997d [TEST] Fixing HostedDependency/04_reverse_errs.py The error desc with and w/o sbmil-cmpi-base is same. Tested with current sources on F11 and SLES11 with KVM and current sources Also, tested with and w/o sbmil-cmpi-base is same on SLES11. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> diff -r 95fa64bf447e -r 4ccfbf5da9c6 suites/libvirt-cim/cimtest/HostedDependency/04_reverse_errs.py --- a/suites/libvirt-cim/cimtest/HostedDependency/04_reverse_errs.py Thu Aug 27 16:39:53 2009 -0700 +++ b/suites/libvirt-cim/cimtest/HostedDependency/04_reverse_errs.py Tue Sep 01 00:21:50 2009 -0700 @@ -45,14 +45,9 @@ test_mac = "00:11:22:33:44:55" def set_expr_values(host_ccn): - if (host_ccn == "Linux_ComputerSystem"): - exp_rc = pywbem.CIM_ERR_INVALID_PARAMETER - exp_d1 = "INVALID" - exp_d2 = "INVALID" - else: - exp_rc = pywbem.CIM_ERR_NOT_FOUND - exp_d1 = "No such instance (Name)" - exp_d2 = "No such instance (CreationClassName)" + exp_rc = pywbem.CIM_ERR_NOT_FOUND + exp_d1 = "No such instance (Name)" + exp_d2 = "No such instance (CreationClassName)" expr_values = { "INVALID_NameValue" : { 'rc' : exp_rc, 'desc' : exp_d1 },

Deepti B. Kalakeri wrote:
# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1251789710 25200 # Node ID 4ccfbf5da9c6a03d994246d415c4ada5484594bc # Parent 95fa64bf447e5bc2bab501564e3d9336edef997d [TEST] Fixing HostedDependency/04_reverse_errs.py
The error desc with and w/o sbmil-cmpi-base is same. Tested with current sources on F11 and SLES11 with KVM and current sources Also, tested with and w/o sbmil-cmpi-base is same on SLES11. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com>
I applied this thinking I was testing on an F11 system with sblim-cmpi-base installed. However, sblim-cmpi-base wasn't installed properly. After reinstalling, this test fails for me. With sblim-cmpi-base on F11, looks like CIM_ERR_INVALID_PARAMETER is returned. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Kaitlin Rupert wrote:
Deepti B. Kalakeri wrote:
# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1251789710 25200 # Node ID 4ccfbf5da9c6a03d994246d415c4ada5484594bc # Parent 95fa64bf447e5bc2bab501564e3d9336edef997d [TEST] Fixing HostedDependency/04_reverse_errs.py
The error desc with and w/o sbmil-cmpi-base is same. Tested with current sources on F11 and SLES11 with KVM and current sources Also, tested with and w/o sbmil-cmpi-base is same on SLES11. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com>
I applied this thinking I was testing on an F11 system with sblim-cmpi-base installed. However, sblim-cmpi-base wasn't installed properly. After reinstalling, this test fails for me.
With sblim-cmpi-base on F11, looks like CIM_ERR_INVALID_PARAMETER is returned.
Oops! I had not verified this on F11 with sblim-cmpi-base. Thanks .. have resubmitted the patches. -- Thanks and Regards, Deepti B. Kalakeri IBM Linux Technology Center deeptik@linux.vnet.ibm.com
participants (3)
-
Deepti B Kalakeri
-
Deepti B. Kalakeri
-
Kaitlin Rupert