Jim -
As per the call today I am sending some input and output files for our testing effort. I got confused about which package I got working - it was sblim-test, not cimteser. I will work on cimtester and report on it as well. In any event, the sblim test is run with ./run.sh <class name>
Here is what an input file looks like:
********************************************************************************
class : Xen_ComputerSystem
objectPath : Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem
--------------------------------------------------------------------------------
Instance enumInstanceNames
--------------------------------------------------------------------------------
Instance enumInstances
--------------------------------------------------------------------------------
Instance get
--------------------------------------------------------------------------------
Instance set
Expected Exception : NOT_SUPPORTED
--------------------------------------------------------------------------------
Instance create
Expected Exception : NOT_SUPPORTED
--------------------------------------------------------------------------------
Instance delete
Expected Exception : NOT_SUPPORTED
--------------------------------------------------------------------------------
Instance execQuery
Expected Exception : NOT_SUPPORTED
The expected exceptions are items that are expected to fail and will not count as a failed test.
Here is the output file:
********************************************************************************
class : Xen_ComputerSystem
Wed Feb 21 14:33:16 2007
--------------------------------------------------------------------------------
Instance enumInstanceNames
Status : ok
RC : 1
last executed call : wbemein http://localhost:5988/root/cimv2:Xen_ComputerSystem
Number of Returned Instances : 1
user time : 0 child user time : 0 ut : 0
system time : 0 child system time : 0 st : 0
--------------------------------------------------------------------------------
Instance enumInstances
Status : ok
RC : 1
last executed call : wbemei http://localhost:5988/root/cimv2:Xen_ComputerSystem
Number of Returned Instances : 1
user time : 0 child user time : 0.01 ut : 0.01
system time : 0 child system time : 0 st : 0
--------------------------------------------------------------------------------
Instance get
Status : ok
RC : 1
last executed call : wbemgi 'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName="Xen_ComputerSystem",Name="Domain-0"'
user time : 0 child user time : 0 ut : 0
system time : 0 child system time : 0.01 st : 0.01
--------------------------------------------------------------------------------
Instance set
Status : NOT_SUPPORTED
RC : 0
--------------------------------------------------------------------------------
Instance create
Status : ok - operation returned with NOT_SUPPORTED
RC : 1
last executed call : wbemci 'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem' CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem
user time : 0 child user time : 0.01 ut : 0.01
system time : 0 child system time : 0 st : 0
--------------------------------------------------------------------------------
Instance delete
Status : failed - unexpected exception occured - wbemdi: Cim: (6) CIM_ERR_NOT_FOUND: Target instance not found
RC : 9
last executed call : wbemdi 'http://localhost:5988/root/cimv2:Xen_ComputerSystem.CreationClassName=Xen_ComputerSystem,Name=Xen_ComputerSystem'
--------------------------------------------------------------------------------
Instance execQuery
Status : NOT_SUPPORTED
RC : 0
--------------------------------------------------------------------------------
********************************************************************************
Xen_ComputerSystem
Number of Tests where Status ok : 4
Number of Tests where Status failed : 1
user time : 0 child user time : 0.02 ut : 0.02
system time : 0 child system time : 0.01 st : 0.01
_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
|