X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-file_name.c;h=9d2aca1740a03b6ee210b7976fa8a043d2f9cd0a;hb=003ce655b7116d18c86a74c50391e54990346931;hp=a9d1ab94d2a9a5f0daebea93da4a61a19a86c759;hpb=e1aff6f9f7103ee59e2501d3e6c705a685b20aeb;p=sliver-openvswitch.git diff --git a/tests/test-file_name.c b/tests/test-file_name.c index a9d1ab94d..9d2aca174 100644 --- a/tests/test-file_name.c +++ b/tests/test-file_name.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010 Nicira Networks. + * Copyright (c) 2009, 2010, 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 "util.h" #include +#include "ovstest.h" -int -main(int argc, char *argv[]) +static void +test_filename_main(int argc, char *argv[]) { int i; @@ -34,6 +35,6 @@ main(int argc, char *argv[]) puts(base); free(base); } - - return 0; } + +OVSTEST_REGISTER("test-file_name", test_filename_main);