diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-12-03 20:21:32 +1100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-03 09:47:48 +0000 |
commit | 3e2c48f5e647d3fc973c66b6c9048daf04643977 (patch) | |
tree | 59fb04a074d837f3cb1554e13484fbe33b22d7f4 /src/third_party/wiredtiger/test/checkpoint | |
parent | 405e67a9782fc0dd424614d2dd999cdca9230831 (diff) | |
download | mongo-3e2c48f5e647d3fc973c66b6c9048daf04643977.tar.gz |
Import wiredtiger: bb0e1e8d5700064aba7699d0aff2e3b531874f4d from branch mongodb-master
ref: 646ef5b4e0..bb0e1e8d57
for: 5.2.0
WT-8360 Remove WT_TEST output file when test finishes in recovery-test script
Diffstat (limited to 'src/third_party/wiredtiger/test/checkpoint')
-rwxr-xr-x | src/third_party/wiredtiger/test/checkpoint/recovery-test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/checkpoint/recovery-test.sh b/src/third_party/wiredtiger/test/checkpoint/recovery-test.sh index 1cc0653aef9..c776156ddec 100755 --- a/src/third_party/wiredtiger/test/checkpoint/recovery-test.sh +++ b/src/third_party/wiredtiger/test/checkpoint/recovery-test.sh @@ -40,4 +40,7 @@ while kill -STOP $pid ; do ./t -t r -D -v -h $recovery || exit 1 done +# Clean the home directory once the test is completed. Note that once we fail to send the signal to +# stop the test, it means that it is completed. +rm -rf $home $home.out exit 0 |