On 04/05/2013 10:50 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > > Validate that translations between different keycode sets > are functioning. > > Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> > --- > tests/virkeycodetest.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 107 insertions(+) > create mode 100644 tests/virkeycodetest.c Never hurts to add tests :) > +static int > +mymain(void) > +{ > + int ret = 0; > + > + if (virtTestRun("Keycode mapping ", 1, testKeycodeMapping, NULL) < 0) > + ret = -1; > + if (virtTestRun("Keycode strings ", 1, testKeycodeStrings, NULL) < 0) > + ret = -1; > + > + return ret==0 ? EXIT_SUCCESS : EXIT_FAILURE; Spaces around ==. ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list