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>
Add APIs: file-architecture filesize stat lstat lstatlist
fix pep8
Add APIs: touch umask
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
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.
Merge pull request #126 from vanbogithub/bfan-dev

Add some scrub and md device related cases