From 6dfcd34042197e904a6c92e277d6b60a58e7a90a Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sun, 16 Jan 2011 22:53:56 -0800 Subject: [PATCH] - (tim) [regress/agent-getpeereid.sh] shell portability fix. --- ChangeLog | 1 + regress/agent-getpeereid.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c6c6cb955..b8c334ab0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ backslash characters in filenames, enable it for Cygwin and use it to turn of tests for quotes backslashes in sftp-glob.sh. based on discussion with vinschen AT redhat.com and dtucker@; ok dtucker@ + - (tim) [regress/agent-getpeereid.sh] shell portability fix. 20110116 - (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based diff --git a/regress/agent-getpeereid.sh b/regress/agent-getpeereid.sh index f5f5ba55a..faf654c04 100644 --- a/regress/agent-getpeereid.sh +++ b/regress/agent-getpeereid.sh @@ -7,7 +7,9 @@ UNPRIV=nobody ASOCK=${OBJ}/agent SSH_AUTH_SOCK=/nonexistent -if ! config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then +if config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED ; then + : +else echo "skipped (not supported on this platform)" exit 0 fi