summaryrefslogtreecommitdiff
path: root/source4/torture/nbench/nbench.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-09 02:24:14 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-09 02:24:14 +0000
commitdda01cea55fefd450b3de5e8bacb99f264b62486 (patch)
tree25a4a40768ddaf6d49454083d2fbfa058c16338d /source4/torture/nbench/nbench.c
parent2d9a8bf0c93d0f4c8c02b3dfe074f59dba97009b (diff)
downloadsamba-dda01cea55fefd450b3de5e8bacb99f264b62486.tar.gz
samba-dda01cea55fefd450b3de5e8bacb99f264b62486.tar.bz2
samba-dda01cea55fefd450b3de5e8bacb99f264b62486.zip
handle incomplete load files
change default timelimit to 600 secs (This used to be commit c5c75a6adab10e35584dca760586fda333ca5308)
Diffstat (limited to 'source4/torture/nbench/nbench.c')
-rw-r--r--source4/torture/nbench/nbench.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c
index 6b0e78e1ab..3da7dedae1 100644
--- a/source4/torture/nbench/nbench.c
+++ b/source4/torture/nbench/nbench.c
@@ -21,8 +21,8 @@
#include "includes.h"
int nbench_line_count = 0;
-static int timelimit = 300;
-static const char *loadfile;
+static int timelimit = 600;
+static char *loadfile;
#define ival(s) strtol(s, NULL, 0)
@@ -188,5 +188,3 @@ BOOL torture_nbench(int dummy)
1.0e-6 * nbio_total() / t);
return correct;
}
-
-