[master] d847200 Fix breakage
Federico G. Schwindt
fgsch at lodoss.net
Thu Jul 31 13:14:17 CEST 2014
commit d8472004de754162e5885e688fde1f291843469a
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Thu Jul 31 12:12:33 2014 +0100
Fix breakage
Un-static-fy vtc_maxdur
diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index a31c83f..c70b267 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -52,6 +52,7 @@ volatile sig_atomic_t vtc_error; /* Error encountered */
int vtc_stop; /* Stops current test without error */
pthread_t vtc_thread;
static struct vtclog *vltop;
+unsigned vtc_maxdur; /* Max duration of any test */
/**********************************************************************
* Macro facility
diff --git a/bin/varnishtest/vtc.h b/bin/varnishtest/vtc.h
index 6c56926..b877e26 100644
--- a/bin/varnishtest/vtc.h
+++ b/bin/varnishtest/vtc.h
@@ -69,6 +69,7 @@ extern volatile sig_atomic_t vtc_error; /* Error, bail out */
extern int vtc_stop; /* Abandon current test, no error */
extern pthread_t vtc_thread;
extern int iflg;
+extern unsigned vtc_maxdur;
void init_sema(void);
diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index de08003..823a0a2 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -73,12 +73,12 @@ struct vtc_job {
};
int iflg = 0;
+unsigned vtc_maxdur = 60;
static VTAILQ_HEAD(, vtc_tst) tst_head = VTAILQ_HEAD_INITIALIZER(tst_head);
static struct vev_base *vb;
static int njob = 0;
static int npar = 1; /* Number of parallel tests */
-static unsigned vtc_maxdur = 60; /* Max duration of any test */
static int vtc_continue; /* Continue on error */
static int vtc_verbosity = 1; /* Verbosity Level */
static int vtc_good;
More information about the varnish-commit
mailing list