X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-lockfile.c;h=0feb27057d294d39829aee81124fb8e2b7683fc0;hb=f391294fde05ecae7c9a1ff8752f872a1db94f3a;hp=f0f4b010a112852c673900f61f15d851c940bb5b;hpb=c69ee87c10818267f991236201150b1fa51ae519;p=sliver-openvswitch.git diff --git a/tests/test-lockfile.c b/tests/test-lockfile.c index f0f4b010a..0feb27057 100644 --- a/tests/test-lockfile.c +++ b/tests/test-lockfile.c @@ -26,6 +26,7 @@ #include "process.h" #include "timeval.h" #include "util.h" +#include "vlog.h" #undef NDEBUG #include @@ -237,10 +238,11 @@ static const struct test tests[] = { int main(int argc, char *argv[]) { + extern struct vlog_module VLM_lockfile; size_t i; set_program_name(argv[0]); - time_init(); + vlog_set_levels(&VLM_lockfile, VLF_ANY_FACILITY, VLL_ERR); if (argc != 2) { ovs_fatal(0, "exactly one argument required; use \"%s help\" for help",