Clear valgrind-out dir to prevent collisions.

This commit is contained in:
Darren Tucker 2019-07-15 12:52:45 +10:00
parent 5db9ba718e
commit bc551dfebb

View File

@ -153,6 +153,7 @@ SCP_BIN=${SCP}
if [ "x$USE_VALGRIND" != "x" ]; then
mkdir -p $OBJ/valgrind-out
rm -f $OBJ/valgrind-out/*
# ensure agent low-priv tests can write logs.
chmod 777 $OBJ/valgrind-out
VG_TEST=`basename $SCRIPT .sh`