/*
- * Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc.
+ * Copyright (c) 2009, 2010, 2011, 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 "timeval.h"
#include "util.h"
#include "vlog.h"
+#include "ovstest.h"
struct test {
const char *name;
#undef TEST
};
-int
-main(int argc, char *argv[])
+static void
+test_lockfile_main(int argc, char *argv[])
{
size_t i;
if (argc != 2) {
ovs_fatal(0, "exactly one argument required; use \"%s help\" for help",
program_name);
- return 1;
}
for (i = 0; tests[i].name; i++) {
argv[1], program_name);
}
+OVSTEST_REGISTER("test-lockfile", test_lockfile_main);