Back

cimtest setup instructions

System requirements
$ hg clone http://libvirt.org/hg/cimtest/
Setup environment
# cd path_to_cimtest/suites/libvirt-cim/images/
# make
# ssh-keygen -t rsa
# cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
# cd path_to_cimtest
# ./runtests libvirt-cim -i localhost
# CIM_NS=root/virt CIM_USER=pegasus CIM_PASS=password ./runtests libvirt-cim -i  localhost
-c removes the log files prior to a run
-d prints the error messages to stdout in additional to printing to the log files (default behavior)
-g <suite_dir> runs a particular directory within the suite directory
-t <tc_name> runs a specific test for a given directory in the test suite
-v <virtualization type> runs the tests specifically for the type specified. Xen, XenFV, KVM, and LXC are currently supported. Xen is the current default. 
# CIM_NS=root/virt CIM_USER=pegasus CIM_PASS=password ./runtests libvirt-cim -i localhost -c -d -v KVM -g ComputerSystem -t 06_paused_active_suspend.py