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
1 changed files with 1 additions and 0 deletions

View File

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