]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Ensure valgrind-out exists.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 8 Apr 2021 05:18:15 +0000 (15:18 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 8 Apr 2021 05:18:15 +0000 (15:18 +1000)
Normally the regress tests would create it, but running the unit tests
on their own would fail because the directory did not exist.

regress/valgrind-unit.sh

index 4143ead4b62eae15fb1b34607dfa2a29958dc8fb..193289e6b78e42ea46528a2eb19107fddb5366ba 100755 (executable)
@@ -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