Skip to content

Commit c6b7362

Browse files
Make sure runtests clear out temporary test directory before each test.
1 parent b8ccc93 commit c6b7362

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/runtests.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ run_tests () {
126126
while read testname; do
127127
# Copy test to writable directory
128128
srctestdir=$(dirname $testname)
129+
if [ -e $TMPDIR/curtest ] ; then rm -rf $TMPDIR/curtest; fi
129130
mkdir $TMPDIR/curtest
130131
cp -rL $srctestdir/. $TMPDIR/curtest
131132
testdir=$TMPDIR/curtest

0 commit comments

Comments
 (0)