]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Skip agent-peereid test on macos13.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 8 May 2023 10:14:46 +0000 (20:14 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 8 May 2023 10:14:46 +0000 (20:14 +1000)
sudo -S nobody doesn't work on the github runners (probably a
permission issue) so skip that test.

.github/configs

index 9cc2bafbda4b40ed7fa193ef9099610f784f8b3c..e054eb3196b5f18638a92944cd25a8f8d09689e0 100755 (executable)
@@ -287,7 +287,8 @@ case "${TARGET_HOST}" in
        ;;
 esac
 
-case "`./config.guess`" in
+host=`./config.guess`
+case "$host" in
 *cygwin)
        SUDO=""
        # Don't run compat tests on cygwin as they don't currently compile.
@@ -298,6 +299,11 @@ case "`./config.guess`" in
        # modern versions don't ship with libcrypto.
        LIBCRYPTOFLAGS="--without-openssl"
        TEST_TARGET=t-exec
+       case "$host" in
+       *-darwin22.*)
+               # sudo -S nobody doesn't work on macos 13 for some reason.
+               SKIP_LTESTS="agent-getpeereid" ;;
+       esac
        ;;
 esac