X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-uuid.c;h=2c1da90ede8d12e9734af4a12d7225299988b0d9;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=750b74ebb73e7a401ff26feaece08d802169f63e;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=sliver-openvswitch.git diff --git a/tests/test-uuid.c b/tests/test-uuid.c index 750b74ebb..2c1da90ed 100644 --- a/tests/test-uuid.c +++ b/tests/test-uuid.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,9 +17,10 @@ #include #include "uuid.h" #include +#include "ovstest.h" -int -main(int argc, char *argv[]) +static void +test_uuid_main(int argc, char *argv[]) { struct uuid uuid; @@ -34,6 +35,6 @@ main(int argc, char *argv[]) } printf(UUID_FMT"\n", UUID_ARGS(&uuid)); - - return 0; } + +OVSTEST_REGISTER("test-uuid", test_uuid_main);