mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 19:14:12 +08:00
mdbx-test: sync stochastic scripts with devel
branch.
This commit is contained in:
parent
e992da9efe
commit
12717aac8c
@ -1,8 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
if ! which make cc c++ tee >/dev/null; then
|
|
||||||
echo "Please install the following prerequisites: make cc c++ tee banner" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
LIST=basic
|
LIST=basic
|
||||||
FROM=1
|
FROM=1
|
||||||
@ -15,6 +11,7 @@ BANNER="$(which banner 2>/dev/null | echo echo)"
|
|||||||
UNAME="$(uname -s 2>/dev/null || echo Unknown)"
|
UNAME="$(uname -s 2>/dev/null || echo Unknown)"
|
||||||
DB_UPTO_MB=17408
|
DB_UPTO_MB=17408
|
||||||
PAGESIZE=min
|
PAGESIZE=min
|
||||||
|
DONT_CHECK_RAM=no
|
||||||
|
|
||||||
while [ -n "$1" ]
|
while [ -n "$1" ]
|
||||||
do
|
do
|
||||||
@ -35,6 +32,7 @@ do
|
|||||||
echo "--db-upto-mb NN Limits upper size of test DB to the NN megabytes"
|
echo "--db-upto-mb NN Limits upper size of test DB to the NN megabytes"
|
||||||
echo "--no-geometry-jitter Disable jitter for geometry upper-size"
|
echo "--no-geometry-jitter Disable jitter for geometry upper-size"
|
||||||
echo "--pagesize NN Use specified page size (256 is minimal and used by default) "
|
echo "--pagesize NN Use specified page size (256 is minimal and used by default) "
|
||||||
|
echo "--dont-check-ram-size Don't check available RAM "
|
||||||
echo "--help Print this usage help and exit"
|
echo "--help Print this usage help and exit"
|
||||||
exit -2
|
exit -2
|
||||||
;;
|
;;
|
||||||
@ -111,7 +109,7 @@ do
|
|||||||
--no-geometry-jitter)
|
--no-geometry-jitter)
|
||||||
GEOMETRY_JITTER=no
|
GEOMETRY_JITTER=no
|
||||||
;;
|
;;
|
||||||
--pagesize)
|
--pagesize|--page-size)
|
||||||
case "$2" in
|
case "$2" in
|
||||||
min|max|256|512|1024|2048|4096|8192|16386|32768|65536)
|
min|max|256|512|1024|2048|4096|8192|16386|32768|65536)
|
||||||
PAGESIZE=$2
|
PAGESIZE=$2
|
||||||
@ -144,6 +142,9 @@ do
|
|||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
--dont-check-ram-size)
|
||||||
|
DONT_CHECK_RAM=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown option '$1'"
|
echo "Unknown option '$1'"
|
||||||
exit -2
|
exit -2
|
||||||
@ -163,6 +164,11 @@ if [ -z "$MONITOR" ]; then
|
|||||||
export MALLOC_CHECK_=7 MALLOC_PERTURB_=42
|
export MALLOC_CHECK_=7 MALLOC_PERTURB_=42
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! which $([ "$SKIP_MAKE" == "no" ] && echo make cc c++) tee >/dev/null; then
|
||||||
|
echo "Please install the following prerequisites: make cc c++ tee banner" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# 1. clean data from prev runs and examine available RAM
|
# 1. clean data from prev runs and examine available RAM
|
||||||
|
|
||||||
@ -220,6 +226,19 @@ case ${UNAME} in
|
|||||||
echo "pagesize ${pagesize}K, freepages ${freepages}, ram_avail_mb ${ram_avail_mb}"
|
echo "pagesize ${pagesize}K, freepages ${freepages}, ram_avail_mb ${ram_avail_mb}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
MSYS*|MINGW*)
|
||||||
|
if [ -z "${TESTDB_DIR:-}" ]; then
|
||||||
|
for old_test_dir in $(ls -d /tmp/mdbx-test.[0-9]* 2>/dev/null); do
|
||||||
|
rm -rf $old_test_dir
|
||||||
|
done
|
||||||
|
TESTDB_DIR="/tmp/mdbx-test.$$"
|
||||||
|
fi
|
||||||
|
mkdir -p $TESTDB_DIR && rm -f $TESTDB_DIR/*
|
||||||
|
|
||||||
|
echo "FIXME: Fake support for ${UNAME}"
|
||||||
|
ram_avail_mb=32768
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "FIXME: ${UNAME} not supported by this script"
|
echo "FIXME: ${UNAME} not supported by this script"
|
||||||
exit 2
|
exit 2
|
||||||
@ -232,11 +251,15 @@ rm -f ${TESTDB_DIR}/*
|
|||||||
# 2. estimate reasonable RAM space for test-db
|
# 2. estimate reasonable RAM space for test-db
|
||||||
|
|
||||||
echo "=== ${ram_avail_mb}M RAM available"
|
echo "=== ${ram_avail_mb}M RAM available"
|
||||||
ram_reserve4logs_mb=1234
|
if [ $DONT_CHECK_RAM = yes ]; then
|
||||||
if [ $ram_avail_mb -lt $ram_reserve4logs_mb ]; then
|
db_size_mb=$DB_UPTO_MB
|
||||||
echo "=== At least ${ram_reserve4logs_mb}Mb RAM required"
|
ram_reserve4logs_mb=64
|
||||||
exit 3
|
else
|
||||||
fi
|
ram_reserve4logs_mb=1234
|
||||||
|
if [ $ram_avail_mb -lt $ram_reserve4logs_mb ]; then
|
||||||
|
echo "=== At least ${ram_reserve4logs_mb}Mb RAM required"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# В режимах отличных от MDBX_WRITEMAP изменения до записи в файл
|
# В режимах отличных от MDBX_WRITEMAP изменения до записи в файл
|
||||||
@ -256,9 +279,10 @@ fi
|
|||||||
# that malloc() will not return the allocated memory to the
|
# that malloc() will not return the allocated memory to the
|
||||||
# system immediately, as well some space is required for logs.
|
# system immediately, as well some space is required for logs.
|
||||||
#
|
#
|
||||||
db_size_mb=$(((ram_avail_mb - ram_reserve4logs_mb) / 4))
|
db_size_mb=$(((ram_avail_mb - ram_reserve4logs_mb) / 4))
|
||||||
if [ $db_size_mb -gt $DB_UPTO_MB ]; then
|
if [ $db_size_mb -gt $DB_UPTO_MB ]; then
|
||||||
db_size_mb=$DB_UPTO_MB
|
db_size_mb=$DB_UPTO_MB
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo "=== use ${db_size_mb}M for DB"
|
echo "=== use ${db_size_mb}M for DB"
|
||||||
|
|
||||||
@ -269,7 +293,11 @@ case ${UNAME} in
|
|||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
if [ "$(cat /proc/sys/kernel/core_pattern)" != "core.%p" ]; then
|
if [ "$(cat /proc/sys/kernel/core_pattern)" != "core.%p" ]; then
|
||||||
echo "core.%p > /proc/sys/kernel/core_pattern" >&2
|
echo "core.%p > /proc/sys/kernel/core_pattern" >&2
|
||||||
echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern || true
|
if [ $(id -u) -ne 0 -a -n "$(which sudo 2>/dev/null)" ]; then
|
||||||
|
echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern || true
|
||||||
|
else
|
||||||
|
(echo "core.%p" > /proc/sys/kernel/core_pattern) || true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -288,6 +316,10 @@ case ${UNAME} in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
MSYS*|MINGW*)
|
||||||
|
echo "FIXME: Fake support for ${UNAME}"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "FIXME: ${UNAME} not supported by this script"
|
echo "FIXME: ${UNAME} not supported by this script"
|
||||||
exit 2
|
exit 2
|
||||||
@ -319,7 +351,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
syncmodes=("" ,+nosync-safe ,+nosync-utterly)
|
syncmodes=("" ,+nosync-safe ,+nosync-utterly)
|
||||||
options=(writemap coalesce lifo notls perturb)
|
options=(writemap lifo notls perturb)
|
||||||
|
|
||||||
function join { local IFS="$1"; shift; echo "$*"; }
|
function join { local IFS="$1"; shift; echo "$*"; }
|
||||||
|
|
||||||
|
@ -1,18 +1,17 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
if ! which make cc c++ tee >/dev/null; then
|
|
||||||
echo "Please install the following prerequisites: make cc c++ tee banner" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
LIST=--hill
|
LIST=--hill
|
||||||
FROM=1
|
FROM=1
|
||||||
UPTO=9999
|
UPTO=9999999
|
||||||
MONITOR=
|
MONITOR=
|
||||||
LOOPS=
|
LOOPS=
|
||||||
SKIP_MAKE=no
|
SKIP_MAKE=no
|
||||||
|
GEOMETRY_JITTER=yes
|
||||||
BANNER="$(which banner 2>/dev/null | echo echo)"
|
BANNER="$(which banner 2>/dev/null | echo echo)"
|
||||||
UNAME="$(uname -s 2>/dev/null || echo Unknown)"
|
UNAME="$(uname -s 2>/dev/null || echo Unknown)"
|
||||||
DB_UPTO_MB=17408
|
DB_UPTO_MB=17408
|
||||||
|
PAGESIZE=min
|
||||||
|
DONT_CHECK_RAM=no
|
||||||
|
|
||||||
while [ -n "$1" ]
|
while [ -n "$1" ]
|
||||||
do
|
do
|
||||||
@ -20,6 +19,10 @@ do
|
|||||||
--help)
|
--help)
|
||||||
echo "--multi Engage multi-process test scenario (default)"
|
echo "--multi Engage multi-process test scenario (default)"
|
||||||
echo "--single Execute series of single-process tests (for QEMU, etc)"
|
echo "--single Execute series of single-process tests (for QEMU, etc)"
|
||||||
|
echo "--nested Execute only 'nested' testcase"
|
||||||
|
echo "--hill Execute only 'hill' testcase"
|
||||||
|
echo "--append Execute only 'append' testcase"
|
||||||
|
echo "--ttl Execute only 'ttl' testcase"
|
||||||
echo "--with-valgrind Run tests under Valgrind's memcheck tool"
|
echo "--with-valgrind Run tests under Valgrind's memcheck tool"
|
||||||
echo "--skip-make Don't (re)build libmdbx and test's executable"
|
echo "--skip-make Don't (re)build libmdbx and test's executable"
|
||||||
echo "--from NN Start iterating from the NN ops per test case"
|
echo "--from NN Start iterating from the NN ops per test case"
|
||||||
@ -27,6 +30,9 @@ do
|
|||||||
echo "--loops NN Stop after the NN loops"
|
echo "--loops NN Stop after the NN loops"
|
||||||
echo "--dir PATH Specifies directory for test DB and other files (it will be cleared)"
|
echo "--dir PATH Specifies directory for test DB and other files (it will be cleared)"
|
||||||
echo "--db-upto-mb NN Limits upper size of test DB to the NN megabytes"
|
echo "--db-upto-mb NN Limits upper size of test DB to the NN megabytes"
|
||||||
|
echo "--no-geometry-jitter Disable jitter for geometry upper-size"
|
||||||
|
echo "--pagesize NN Use specified page size (256 is minimal and used by default) "
|
||||||
|
echo "--dont-check-ram-size Don't check available RAM "
|
||||||
echo "--help Print this usage help and exit"
|
echo "--help Print this usage help and exit"
|
||||||
exit -2
|
exit -2
|
||||||
;;
|
;;
|
||||||
@ -36,6 +42,18 @@ do
|
|||||||
--single)
|
--single)
|
||||||
LIST="--nested --hill --append --ttl --copy"
|
LIST="--nested --hill --append --ttl --copy"
|
||||||
;;
|
;;
|
||||||
|
--nested)
|
||||||
|
LIST="--nested"
|
||||||
|
;;
|
||||||
|
--hill)
|
||||||
|
LIST="--hill"
|
||||||
|
;;
|
||||||
|
--append)
|
||||||
|
LIST="--append"
|
||||||
|
;;
|
||||||
|
--ttl)
|
||||||
|
LIST="--ttl"
|
||||||
|
;;
|
||||||
--with-valgrind)
|
--with-valgrind)
|
||||||
echo " NOTE: Valgrind could produce some false-positive warnings"
|
echo " NOTE: Valgrind could produce some false-positive warnings"
|
||||||
echo " in multi-process environment with shared memory."
|
echo " in multi-process environment with shared memory."
|
||||||
@ -88,6 +106,45 @@ do
|
|||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
--no-geometry-jitter)
|
||||||
|
GEOMETRY_JITTER=no
|
||||||
|
;;
|
||||||
|
--pagesize|--page-size)
|
||||||
|
case "$2" in
|
||||||
|
min|max|256|512|1024|2048|4096|8192|16386|32768|65536)
|
||||||
|
PAGESIZE=$2
|
||||||
|
;;
|
||||||
|
1|1k|1K|k|K)
|
||||||
|
PAGESIZE=$((1024*1))
|
||||||
|
;;
|
||||||
|
2|2k|2K)
|
||||||
|
PAGESIZE=$((1024*2))
|
||||||
|
;;
|
||||||
|
4|4k|4K)
|
||||||
|
PAGESIZE=$((1024*4))
|
||||||
|
;;
|
||||||
|
8|8k|8K)
|
||||||
|
PAGESIZE=$((1024*8))
|
||||||
|
;;
|
||||||
|
16|16k|16K)
|
||||||
|
PAGESIZE=$((1024*16))
|
||||||
|
;;
|
||||||
|
32|32k|32K)
|
||||||
|
PAGESIZE=$((1024*32))
|
||||||
|
;;
|
||||||
|
64|64k|64K)
|
||||||
|
PAGESIZE=$((1024*64))
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Invalig page size '$2'"
|
||||||
|
exit -2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--dont-check-ram-size)
|
||||||
|
DONT_CHECK_RAM=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown option '$1'"
|
echo "Unknown option '$1'"
|
||||||
exit -2
|
exit -2
|
||||||
@ -107,6 +164,11 @@ if [ -z "$MONITOR" ]; then
|
|||||||
export MALLOC_CHECK_=7 MALLOC_PERTURB_=42
|
export MALLOC_CHECK_=7 MALLOC_PERTURB_=42
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! which $([ "$SKIP_MAKE" == "no" ] && echo make cc c++) tee >/dev/null; then
|
||||||
|
echo "Please install the following prerequisites: make cc c++ tee banner" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# 1. clean data from prev runs and examine available RAM
|
# 1. clean data from prev runs and examine available RAM
|
||||||
|
|
||||||
@ -123,9 +185,9 @@ case ${UNAME} in
|
|||||||
mkdir -p $TESTDB_DIR && rm -f $TESTDB_DIR/*
|
mkdir -p $TESTDB_DIR && rm -f $TESTDB_DIR/*
|
||||||
|
|
||||||
if LC_ALL=C free | grep -q -i available; then
|
if LC_ALL=C free | grep -q -i available; then
|
||||||
ram_avail_mb=$(($(LC_ALL=C free | grep -i Mem: | tr -s [:blank:] ' ' | cut -d ' ' -f 7) / 1024))
|
ram_avail_mb=$(($(LC_ALL=C free | grep -i Mem: | tr -s '[:blank:]' ' ' | cut -d ' ' -f 7) / 1024))
|
||||||
else
|
else
|
||||||
ram_avail_mb=$(($(LC_ALL=C free | grep -i Mem: | tr -s [:blank:] ' ' | cut -d ' ' -f 4) / 1024))
|
ram_avail_mb=$(($(LC_ALL=C free | grep -i Mem: | tr -s '[:blank:]' ' ' | cut -d ' ' -f 4) / 1024))
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -164,6 +226,19 @@ case ${UNAME} in
|
|||||||
echo "pagesize ${pagesize}K, freepages ${freepages}, ram_avail_mb ${ram_avail_mb}"
|
echo "pagesize ${pagesize}K, freepages ${freepages}, ram_avail_mb ${ram_avail_mb}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
MSYS*|MINGW*)
|
||||||
|
if [ -z "${TESTDB_DIR:-}" ]; then
|
||||||
|
for old_test_dir in $(ls -d /tmp/mdbx-test.[0-9]* 2>/dev/null); do
|
||||||
|
rm -rf $old_test_dir
|
||||||
|
done
|
||||||
|
TESTDB_DIR="/tmp/mdbx-test.$$"
|
||||||
|
fi
|
||||||
|
mkdir -p $TESTDB_DIR && rm -f $TESTDB_DIR/*
|
||||||
|
|
||||||
|
echo "FIXME: Fake support for ${UNAME}"
|
||||||
|
ram_avail_mb=32768
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "FIXME: ${UNAME} not supported by this script"
|
echo "FIXME: ${UNAME} not supported by this script"
|
||||||
exit 2
|
exit 2
|
||||||
@ -176,11 +251,15 @@ rm -f ${TESTDB_DIR}/*
|
|||||||
# 2. estimate reasonable RAM space for test-db
|
# 2. estimate reasonable RAM space for test-db
|
||||||
|
|
||||||
echo "=== ${ram_avail_mb}M RAM available"
|
echo "=== ${ram_avail_mb}M RAM available"
|
||||||
ram_reserve4logs_mb=1234
|
if [ $DONT_CHECK_RAM = yes ]; then
|
||||||
if [ $ram_avail_mb -lt $ram_reserve4logs_mb ]; then
|
db_size_mb=$DB_UPTO_MB
|
||||||
echo "=== At least ${ram_reserve4logs_mb}Mb RAM required"
|
ram_reserve4logs_mb=64
|
||||||
exit 3
|
else
|
||||||
fi
|
ram_reserve4logs_mb=1234
|
||||||
|
if [ $ram_avail_mb -lt $ram_reserve4logs_mb ]; then
|
||||||
|
echo "=== At least ${ram_reserve4logs_mb}Mb RAM required"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# В режимах отличных от MDBX_WRITEMAP изменения до записи в файл
|
# В режимах отличных от MDBX_WRITEMAP изменения до записи в файл
|
||||||
@ -200,9 +279,10 @@ fi
|
|||||||
# that malloc() will not return the allocated memory to the
|
# that malloc() will not return the allocated memory to the
|
||||||
# system immediately, as well some space is required for logs.
|
# system immediately, as well some space is required for logs.
|
||||||
#
|
#
|
||||||
db_size_mb=$(((ram_avail_mb - ram_reserve4logs_mb) / 4))
|
db_size_mb=$(((ram_avail_mb - ram_reserve4logs_mb) / 4))
|
||||||
if [ $db_size_mb -gt $DB_UPTO_MB ]; then
|
if [ $db_size_mb -gt $DB_UPTO_MB ]; then
|
||||||
db_size_mb=$DB_UPTO_MB
|
db_size_mb=$DB_UPTO_MB
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo "=== use ${db_size_mb}M for DB"
|
echo "=== use ${db_size_mb}M for DB"
|
||||||
|
|
||||||
@ -213,7 +293,11 @@ case ${UNAME} in
|
|||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
if [ "$(cat /proc/sys/kernel/core_pattern)" != "core.%p" ]; then
|
if [ "$(cat /proc/sys/kernel/core_pattern)" != "core.%p" ]; then
|
||||||
echo "core.%p > /proc/sys/kernel/core_pattern" >&2
|
echo "core.%p > /proc/sys/kernel/core_pattern" >&2
|
||||||
echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern || true
|
if [ $(id -u) -ne 0 -a -n "$(which sudo 2>/dev/null)" ]; then
|
||||||
|
echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern || true
|
||||||
|
else
|
||||||
|
(echo "core.%p" > /proc/sys/kernel/core_pattern) || true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -232,6 +316,10 @@ case ${UNAME} in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
MSYS*|MINGW*)
|
||||||
|
echo "FIXME: Fake support for ${UNAME}"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "FIXME: ${UNAME} not supported by this script"
|
echo "FIXME: ${UNAME} not supported by this script"
|
||||||
exit 2
|
exit 2
|
||||||
@ -263,7 +351,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
syncmodes=("" ,+nosync-safe ,+nosync-utterly)
|
syncmodes=("" ,+nosync-safe ,+nosync-utterly)
|
||||||
options=(writemap coalesce lifo notls perturb)
|
options=(writemap lifo notls perturb)
|
||||||
|
|
||||||
function join { local IFS="$1"; shift; echo "$*"; }
|
function join { local IFS="$1"; shift; echo "$*"; }
|
||||||
|
|
||||||
@ -296,8 +384,8 @@ function probe {
|
|||||||
rm -f ${TESTDB_DIR}/* || failed
|
rm -f ${TESTDB_DIR}/* || failed
|
||||||
for case in $LIST
|
for case in $LIST
|
||||||
do
|
do
|
||||||
echo "Run ./mdbx_test ${speculum} --random-writemap=no --ignore-dbfull --repeat=1 --pathname=${TESTDB_DIR}/long.db --cleanup-after=no $@ $case"
|
echo "Run ./mdbx_test ${speculum} --random-writemap=no --ignore-dbfull --repeat=11 --pathname=${TESTDB_DIR}/long.db --cleanup-after=no --geometry-jitter=${GEOMETRY_JITTER} $@ $case"
|
||||||
${MONITOR} ./mdbx_test ${speculum} --random-writemap=no --ignore-dbfull --repeat=1 --pathname=${TESTDB_DIR}/long.db --cleanup-before=yes --cleanup-after=no "$@" $case | check_deep \
|
${MONITOR} ./mdbx_test ${speculum} --random-writemap=no --ignore-dbfull --repeat=11 --pathname=${TESTDB_DIR}/long.db --cleanup-after=no --geometry-jitter=${GEOMETRY_JITTER} "$@" $case | check_deep \
|
||||||
&& ${MONITOR} ./mdbx_chk ${TESTDB_DIR}/long.db | tee ${TESTDB_DIR}/long-chk.log \
|
&& ${MONITOR} ./mdbx_chk ${TESTDB_DIR}/long.db | tee ${TESTDB_DIR}/long-chk.log \
|
||||||
&& ([ ! -e ${TESTDB_DIR}/long.db-copy ] || ${MONITOR} ./mdbx_chk ${TESTDB_DIR}/long.db-copy | tee ${TESTDB_DIR}/long-chk-copy.log) \
|
&& ([ ! -e ${TESTDB_DIR}/long.db-copy ] || ${MONITOR} ./mdbx_chk ${TESTDB_DIR}/long.db-copy | tee ${TESTDB_DIR}/long-chk-copy.log) \
|
||||||
|| failed
|
|| failed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user