summaryrefslogtreecommitdiff
path: root/test/checkpoint
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-05-12 14:47:28 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2015-05-12 14:47:28 +1000
commit9880d7563f74ec1e7033bae0e2f5aa312abc7b20 (patch)
tree9d1893587cc34c117619340b8f2f673666a7e206 /test/checkpoint
parent8f6b8fd4647186cc6ce68cb31ecd085c4323157e (diff)
parentdf5a23d353d141afcbdb6cdced0538c87e99d389 (diff)
downloadmongo-9880d7563f74ec1e7033bae0e2f5aa312abc7b20.tar.gz
Merge branch 'develop' into encryption-api
Conflicts: ext/compressors/lz4/lz4_compress.c
Diffstat (limited to 'test/checkpoint')
-rw-r--r--test/checkpoint/test_checkpoint.c6
-rw-r--r--test/checkpoint/test_checkpoint.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/checkpoint/test_checkpoint.c b/test/checkpoint/test_checkpoint.c
index 72700365dfe..3131a30bba4 100644
--- a/test/checkpoint/test_checkpoint.c
+++ b/test/checkpoint/test_checkpoint.c
@@ -130,8 +130,7 @@ main(int argc, char *argv[])
/* Clean up on signal. */
(void)signal(SIGINT, onint);
- if ((ret = testutil_work_dir_from_path(g.home, 512, working_dir)) != 0)
- testutil_die(ret, "provided directory name is too long");
+ testutil_work_dir_from_path(g.home, 512, working_dir);
printf("%s: process %" PRIu64 "\n", g.progname, (uint64_t)getpid());
for (cnt = 1; (runs == 0 || cnt <= runs) && g.status == 0; ++cnt) {
@@ -245,7 +244,8 @@ cleanup(void)
g.running = 0;
g.ntables_created = 0;
- return (testutil_clean_work_dir(g.home));
+ testutil_clean_work_dir(g.home);
+ return (0);
}
static int
diff --git a/test/checkpoint/test_checkpoint.h b/test/checkpoint/test_checkpoint.h
index 411ebc50de9..914b68e522d 100644
--- a/test/checkpoint/test_checkpoint.h
+++ b/test/checkpoint/test_checkpoint.h
@@ -38,8 +38,8 @@
#include <string.h>
#include <unistd.h>
+#include "wt_internal.h" /* For __wt_XXX */
#include "test_util.i"
-#include "wt_internal.h" /* For __wt_random */
#define URI_BASE "table:__wt" /* File name */