Re: [PATCH 2/2] util: Add tests for scsi utils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30/01/14 03:35, Eric Blake wrote:
On 01/29/2014 10:22 AM, Osier Yang wrote:
To support to pass the path of the test data to the utils, one
s/to pass/passing/

Changed.


more argument is added to virSCSIDeviceGetSgName,
virSCSIDeviceGetDevName, and virSCSIDeviceNew, and the related
code is changed accordingly.

Signed-off-by: Osier Yang <jyang@xxxxxxxxxx>
---
  src/qemu/qemu_cgroup.c           |   3 +-
  src/qemu/qemu_command.c          |   3 +-
  src/qemu/qemu_command.h          |   3 +-
  src/qemu/qemu_conf.c             |  12 ++-
  src/qemu/qemu_hostdev.c          |   9 +-
  src/security/security_apparmor.c |   3 +-
  src/security/security_dac.c      |   6 +-
  src/security/security_selinux.c  |   6 +-
  src/util/virscsi.c               |  26 +++---
  src/util/virscsi.h               |   9 +-
  tests/Makefile.am                |  14 +++
  tests/testutilsqemu.c            |   3 +-
  tests/virscsitest.c              | 188 +++++++++++++++++++++++++++++++++++++++
It might be worth splitting this into two patches - one that adds the
argument and adjusts existing callers, and the other that adds the new
testsuite addition.

Splitted and added "virscsitest" to .gitignore. Pushed. Thanks.

Osier

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]