[openssh-commits] [openssh] 01/01: Skip agent-getpeereid when running as root.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Feb 21 21:31:35 AEDT 2022

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 81d33d8e3cf7ea5ce3a5653c6102b623e019428a
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Mon Feb 21 21:27:20 2022 +1100

    Skip agent-getpeereid when running as root.
 regress/agent-getpeereid.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/regress/agent-getpeereid.sh b/regress/agent-getpeereid.sh
index 2874100f..b84471a7 100644
--- a/regress/agent-getpeereid.sh
+++ b/regress/agent-getpeereid.sh
@@ -12,6 +12,9 @@ if config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then
 	skip "skipped (not supported on this platform)"
+if test "x$USER" = "xroot"; then
+	skip "skipped (running as root)"
 case "x$SUDO" in
 	xsudo) sudo=1;;
 	xdoas|xdoas\ *) ;;

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list