libguestfs.tests: Add more testcases for virt-edit options.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh_attach_detach_disk: fix rhel version check.

As we need to run tests not only for rhel guest, we can not
assume "rpm -qa|grep redhat-release" should return 0.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh_attach_detach_disk: add test case for --persistent option.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Add test for domblkerror

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
guestfish_block_dev: Add 3 scrub related cases

1.scrub-device
2.scrub-device
3.scrub-freespace
guestfish_block_dev: Add md device related case

1. md-create
2. md-detail
3. md-stop
4. md-stat
5. list-md-devices
Merge pull request #125 from shi2wei3/file_dir_APIs

Add APIs: file-architecture filesize stat lstat lstatlist touch umask
Add virsh testcase virsh_blockresize

  domain/virsh_blockresize.py
  domain/virsh_blockresize.cfg

Signed-off-by: Guannan Ren <gren@redhat.com>
Fix pep8 problems of virsh blockresize test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #127 from yumingfei/blockresize

Rebase: Add virsh testcase virsh_blockresize
guestfish_block_dev: Add part_add, part_del, part_init cases
Merge pull request #48 from kylazhang/domblkerror

Add test for domblkerror
libvirt.tests: Add test for iface related commands

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #104 from yangdongsheng/at-detach-disk

virsh-tests: Add --persistent for at-detach-disk test
Merge pull request #93 from will-Do/iface

libvirt.tests: Add test for iface related commands
Merge pull request #96 from yumingfei/virt_edit

libguestfs.tests: Add more testcases for virt-edit options.
Add test cases for:
    1. Attach disk of special disk name
    2. Audit log check after detach
    3. Disk type check after attach
Improve disk hotplug/hotunplug audit test.
Improve audit check function.
guestfish_block_dev: Add cases to test API

part-set-bootable
part-get-bootable
part-set-mbr-id
part-get-mbr-id