diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-04-08 07:18:15 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-04-08 07:18:15 +0200 |
commit | bfa5405da05d906ffd58216eb77c4375b62d64c2 (patch) | |
tree | bf925e7dafdd4f99a7718b01b3acdd968adfaa53 /regress/valgrind-unit.sh | |
parent | Pass OBJ to unit test make invocation. (diff) | |
download | openssh-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-x | regress/valgrind-unit.sh | 2 |
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 |