]> xenbits.xensource.com Git - libvirt.git/commit
tests: Unify style of test skipping code
authorMatthias Bolte <matthias.bolte@googlemail.com>
Thu, 28 Jul 2011 15:48:12 +0000 (17:48 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 29 Jul 2011 10:12:58 +0000 (12:12 +0200)
commitcffba7ea3e3cadac74d70b232fd9187fec243f81
tree57b42f920a6b80a1e5edb7ea961e86c1535f331a
parentf0a5eaf35f169ba95cdbdd1ef276e2904b9e4536
tests: Unify style of test skipping code

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
tests/nodeinfotest.c
tests/qemuargv2xmltest.c
tests/qemuxml2xmltest.c
tests/virnettlscontexttest.c
tests/virshtest.c