summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/evergreen
diff options
context:
space:
mode:
authorClarisse Cheah <clarisse.cheah@mongodb.com>2022-09-19 00:52:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-19 01:24:17 +0000
commit3d46c0b5f7ff84c3671f8d1c359c0087d1e03318 (patch)
tree946dfbd6d83e9cfd75618f94e978db88c846938b /src/third_party/wiredtiger/test/evergreen
parent4f4be296827d039dda844f62a4e29b79ef79ad53 (diff)
downloadmongo-3d46c0b5f7ff84c3671f8d1c359c0087d1e03318.tar.gz
Import wiredtiger: f35f2f71f3fbe7522fcb75209f5aafbc1a0dd678 from branch mongodb-master
ref: d031f0af51..f35f2f71f3 for: 6.2.0-rc0 WT-9755 Retain database files after a failure in run_format_configs.sh (#8270)
Diffstat (limited to 'src/third_party/wiredtiger/test/evergreen')
-rwxr-xr-xsrc/third_party/wiredtiger/test/evergreen/run_format_configs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/evergreen/run_format_configs.sh b/src/third_party/wiredtiger/test/evergreen/run_format_configs.sh
index a29fb30edab..6f2590018bc 100755
--- a/src/third_party/wiredtiger/test/evergreen/run_format_configs.sh
+++ b/src/third_party/wiredtiger/test/evergreen/run_format_configs.sh
@@ -26,11 +26,12 @@ failure=0
for config in $(find ../../../test/format/failure_configs/ -name "CONFIG.*" | sort)
do
echo -e "\nTesting CONFIG $config ...\n"
- if (./t -c $config); then
+ if (./t -c $config -h WT_TEST); then
let "success++"
else
let "failure++"
- [ -f RUNDIR/CONFIG ] && cat RUNDIR/CONFIG
+ [ -f WT_TEST/CONFIG ] && cat WT_TEST/CONFIG
+ mv WT_TEST WT_TEST_$(basename $config)
fi
done