projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flow: Increase number of registers to 4.
[openvswitch]
/
tests
/
test-reconnect.c
diff --git
a/tests/test-reconnect.c
b/tests/test-reconnect.c
index 2d0d44148d0afeb5e82327cd5f0e5858d2fad79c..0f49d7f5847c0bc590a7ca279b35b17d24e76b67 100644
(file)
--- a/
tests/test-reconnect.c
+++ b/
tests/test-reconnect.c
@@
-27,6
+27,7
@@
#include "compiler.h"
#include "svec.h"
#include "util.h"
#include "compiler.h"
#include "svec.h"
#include "util.h"
+#include "vlog.h"
static struct reconnect *reconnect;
static int now;
static struct reconnect *reconnect;
static int now;
@@
-39,11
+40,14
@@
static void diff_stats(const struct reconnect_stats *old,
int
main(void)
{
int
main(void)
{
+ extern struct vlog_module VLM_reconnect;
struct reconnect_stats prev;
unsigned int old_max_tries;
int old_time;
char line[128];
struct reconnect_stats prev;
unsigned int old_max_tries;
int old_time;
char line[128];
+ vlog_set_levels(&VLM_reconnect, VLF_ANY_FACILITY, VLL_EMER);
+
now = 1000;
reconnect = reconnect_create(now);
reconnect_set_name(reconnect, "remote");
now = 1000;
reconnect = reconnect_create(now);
reconnect_set_name(reconnect, "remote");