Add 4 cases to test following guestfish commands

blockdev-getbsz
blockdev-getsize64
blockdev-getss
blockdev-getsz
libvirt.tests: Add test for vol-resize

Signed-off-by: Yanbing Du <ydu@redhat.com>
lvsb: Add simple cases for complex options testing

Signed-off-by: Alex Jia <ajia@redhat.com>
lvsb: sync security options cases with latest sandbox framework

Signed-off-by: Alex Jia <ajia@redhat.com>
Merge pull request #105 from yumingfei/lvsb_complex_options

LVSB: Lvsb complex options
guestfish_block_dev: fix a minior issue

1.Modify the way of parsing the string, it can be sutiable for more
situtation
2.Remove the fs type from cfg file, it's useless to block_dev test
Merge pull request #98 from vanbogithub/bfan-dev

Add 4 cases to test following guestfish commands
Merge pull request #73 from will-Do/vol_resize

libvirt.tests: Add test for vol-resize
virsh.attach_device: Skip login if vm is not alive

For the case where the vm is not alive, then skip doing the login() call
since there are multiple timeouts in play. One in particular - the call
to wait_for_get_address() has a 300 second timeout. If we fall into that
timeout, we can wait for up to 6 minutes per test run. When there's 16
devices that adds up to 96 minutes of waiting for no good reason.

Signed-off-by: John Ferlan <jferlan@redhat.com>
schedinfo_qemu_posix: Add cases change schedinfo by xml

This patch changed cputune info in domain xml and then restart the
domain to validate it with cgroup observation. This is a regression
test base on a known bug.

Also the emulatorpin test is changed to fit new vm_xml.

Signed-off-by: Hao Liu <hliu@redhat.com>
Merge pull request #81 from Hao-Liu/fix_schedinfo

schedinfo_qemu_posix: Add cases change schedinfo by xml
guestfish_block_dev: Add two cases for test API

1. blockdev-rereadpt
2. canonical-device-name
guestfish_block_dev: Add three cases for test API

1. device-index
2. list-devices
3. disk-format
guestfish_block_dev: Add three cases to test API

1. max-disks
2. nr-devices
3. list-partitions
guestfish_block_dev: Add two cases to test API

1. disk-has-backing-file
2. disk-virtual-size
Merge pull request #107 from jferlan/attach_device

virsh.attach_device: Skip login if vm is not alive
Add file_dir APIs: chmod, chown, lchown, du, file
Optimize checking logic for API:file
Adjust coding formats
pep8 fix