summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2011-01-16 22:53:56 -0800
committerTim Rice <tim@multitalents.net>2011-01-16 22:53:56 -0800
commit6dfcd34042197e904a6c92e277d6b60a58e7a90a (patch)
treee1f31788e4127852a36432f024dd9bcab9b486dd
parent58497780ab22d56ac5216c71f5a20efc1e39ce2e (diff)
- (tim) [regress/agent-getpeereid.sh] shell portability fix.
-rw-r--r--ChangeLog1
-rw-r--r--regress/agent-getpeereid.sh4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c6c6cb95..b8c334ab 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 f5f5ba55..faf654c0 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