diff --git a/test/test_swmr.sh.in b/test/test_swmr.sh.in index d9896cfb536..9d1abd578dd 100644 --- a/test/test_swmr.sh.in +++ b/test/test_swmr.sh.in @@ -114,6 +114,7 @@ done # different, occasionally the wrong file is deleted, interrupting the flow of # the test. Running each of these tests in its own directory should eliminate # the problem. +rm -rf swmr_test mkdir swmr_test for FILE in swmr*; do case "$FILE" in