From: Darren Tucker Date: Thu, 8 Apr 2021 05:18:15 +0000 (+1000) Subject: Ensure valgrind-out exists. X-Git-Tag: V_8_6_P1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfa5405da05d906ffd58216eb77c4375b62d64c2;p=thirdparty%2Fopenssh-portable.git Ensure valgrind-out exists. Normally the regress tests would create it, but running the unit tests on their own would fail because the directory did not exist. --- diff --git a/regress/valgrind-unit.sh b/regress/valgrind-unit.sh index 4143ead4b..193289e6b 100755 --- a/regress/valgrind-unit.sh +++ b/regress/valgrind-unit.sh @@ -19,4 +19,6 @@ if [ "x$VALGRIND_PATH" != "x" ]; then VG_PATH="$VALGRIND_PATH" fi +mkdir -p "$OBJ/valgrind-out" + exec $VG_PATH $VG_OPTS $UNIT_BINARY $UNIT_ARGS