Put privsep dir on OS X on /usr/local.

On some runners we can't create /var/empty, so put it some place we can
write.  Should fix test breakage on Max OS X 11.
This commit is contained in:
Darren Tucker 2024-02-06 16:21:05 +11:00
parent be5ed8ebed
commit 91898bf786
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

4
.github/configs vendored
View File

@ -322,6 +322,10 @@ case "$host" in
# modern versions don't ship with libcrypto.
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET=t-exec
# On some OS X runners we can't write to /var/empty.
CONFIGFLAGS="${CONFIGFLAGS} --with-privsep-path=/usr/local/empty"
case "$host" in
*-darwin22.*)
# sudo -S nobody doesn't work on macos 13 for some reason.