Skip to content

Commit

Permalink
- (tim) [regress/agent-getpeereid.sh] shell portability fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Rice committed Jan 17, 2011
1 parent 5849778 commit 6dfcd34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion regress/agent-getpeereid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dfcd34

Please sign in to comment.