summaryrefslogtreecommitdiff
path: root/libs/libmdbx/src/test/test.cc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-06 13:07:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-06 13:07:56 +0300
commitee25ba7f21361902fa8fde104a29d92b39c8db9c (patch)
tree511557132a91a2ad9fe0c8e18ea4114ebf956bec /libs/libmdbx/src/test/test.cc
parentd8d3c2cfc50e05fe4b8f6ddd69f2b27b0890ebb8 (diff)
merge with libmdbx trunk - fixes one rare problem with database shrinking
Diffstat (limited to 'libs/libmdbx/src/test/test.cc')
-rw-r--r--libs/libmdbx/src/test/test.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/libmdbx/src/test/test.cc b/libs/libmdbx/src/test/test.cc
index b9663c2a09..6bba425a67 100644
--- a/libs/libmdbx/src/test/test.cc
+++ b/libs/libmdbx/src/test/test.cc
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright 2017-2018 Leonid Yuriev <leo@yuriev.ru>
* and other libmdbx authors: please see AUTHORS file.
* All rights reserved.
@@ -31,6 +31,8 @@ const char *testcase2str(const actor_testcase testcase) {
return "jitter";
case ac_try:
return "try";
+ case ac_copy:
+ return "copy";
}
}
@@ -453,6 +455,9 @@ bool test_execute(const actor_config &config) {
case ac_try:
test.reset(new testcase_try(config, pid));
break;
+ case ac_copy:
+ test.reset(new testcase_copy(config, pid));
+ break;
default:
test.reset(new testcase(config, pid));
break;