summaryrefslogtreecommitdiffstats
path: root/regress/valgrind-unit.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-04-08 07:18:15 +0200
committerDarren Tucker <dtucker@dtucker.net>2021-04-08 07:18:15 +0200
commitbfa5405da05d906ffd58216eb77c4375b62d64c2 (patch)
treebf925e7dafdd4f99a7718b01b3acdd968adfaa53 /regress/valgrind-unit.sh
parentPass OBJ to unit test make invocation. (diff)
downloadopenssh-bfa5405da05d906ffd58216eb77c4375b62d64c2.tar.xz
openssh-bfa5405da05d906ffd58216eb77c4375b62d64c2.zip
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.
Diffstat (limited to 'regress/valgrind-unit.sh')
-rwxr-xr-xregress/valgrind-unit.sh2
1 files changed, 2 insertions, 0 deletions
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