summaryrefslogtreecommitdiff
path: root/test/fops/t.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-06-01 22:52:34 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-06-01 22:52:34 +1000
commit08bd42abc288c66ad77ba6face49798d898970b9 (patch)
tree14934ecb20d4104b828d7d88cd67a0e24d0be64f /test/fops/t.c
parente8cf23c09bfde94a3d2ecfb9033126a48b52d394 (diff)
downloadmongo-08bd42abc288c66ad77ba6face49798d898970b9.tar.gz
Add test/fops and test/thread to "make check".
Diffstat (limited to 'test/fops/t.c')
-rw-r--r--test/fops/t.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/fops/t.c b/test/fops/t.c
index 07070ef403a..c2a47d5d864 100644
--- a/test/fops/t.c
+++ b/test/fops/t.c
@@ -36,13 +36,10 @@ main(int argc, char *argv[])
config_open = NULL;
nops = 1000;
nthreads = 10;
- runs = 0;
+ runs = 1;
- while ((ch = getopt(argc, argv, "1C:l:n:r:t:")) != EOF)
+ while ((ch = getopt(argc, argv, "C:l:n:r:t:")) != EOF)
switch (ch) {
- case '1': /* One run */
- runs = 1;
- break;
case 'C': /* wiredtiger_open config */
config_open = optarg;
break;
@@ -196,11 +193,10 @@ usage(void)
{
fprintf(stderr,
"usage: %s "
- "[-1S] [-C wiredtiger-config] [-k keys] [-l log]\n\t"
+ "[-S] [-C wiredtiger-config] [-k keys] [-l log]\n\t"
"[-n ops] [-R readers] [-r runs] [-t f|r|v] [-W writers]\n",
progname);
fprintf(stderr, "%s",
- "\t-1 run once\n"
"\t-C specify wiredtiger_open configuration arguments\n"
"\t-l specify a log file\n"
"\t-n set number of operations each thread does\n"