Re: [PATCH] tests: Unify style of test skipping code

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

 



On 07/28/2011 09:52 AM, Matthias Bolte wrote:
Prefer 'return EXIT_AM_SKIP' over 'exit(EXIT_AM_SKIP)'.

Prefer 'int main(void)' over 'int main(int argc, char **argv)'.

Fix mymain signature in commandtest and nodeinfotest.
---
  tests/commandtest.c          |   10 +++++-----
  tests/nodeinfotest.c         |   10 +++++-----
  tests/qemuargv2xmltest.c     |    6 +++++-
  tests/qemuxml2xmltest.c      |    6 +++++-
  tests/virnettlscontexttest.c |    6 ++++--
  tests/virshtest.c            |   26 +++++++++++++++++---------
  6 files changed, 41 insertions(+), 23 deletions(-)

ACK, all cosmetic, so no problem pushing prior to 0.9.4.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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]