/*
- * Copyright (c) 2010, 2012 Nicira, Inc.
+ * Copyright (c) 2010, 2012, 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.
*/
#include <config.h>
-
+#undef NDEBUG
+#include "socket-util.h"
#include <errno.h>
#include <signal.h>
#include <unistd.h>
-
+#include "ovstest.h"
#include "util.h"
-#include "socket-util.h"
-int
-main(int argc, char *argv[])
+static void
+test_unix_socket_main(int argc, char *argv[])
{
const char *sockname1;
const char *sockname2;
close(sock1);
close(sock2);
-
- return 0;
}
+
+OVSTEST_REGISTER("test-unix-socket", test_unix_socket_main);