mirror of git://anongit.mindrot.org/openssh.git
- (djm) [regress/agent-getpeereid.sh] leave stdout attached when running
ssh-add to avoid $SUDO failures on Linux
This commit is contained in:
parent
fd3669eb26
commit
1ccbfa88b1
|
@ -4,6 +4,8 @@
|
|||
roumenpetrov.info; ok dtucker@
|
||||
- (djm) [regress/agent-ptrace.sh] Fix false failure on OS X by adding
|
||||
its unique snowflake of a gdb error to the ones we look for.
|
||||
- (djm) [regress/agent-getpeereid.sh] leave stdout attached when running
|
||||
ssh-add to avoid $SUDO failures on Linux
|
||||
|
||||
20110116
|
||||
- (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based
|
||||
|
|
|
@ -34,7 +34,7 @@ else
|
|||
fail "ssh-add failed with $r != 1"
|
||||
fi
|
||||
|
||||
< /dev/null ${SUDO} -S -u ${UNPRIV} ssh-add -l > /dev/null 2>&1
|
||||
< /dev/null ${SUDO} -S -u ${UNPRIV} ssh-add -l 2>/dev/null
|
||||
r=$?
|
||||
if [ $r -lt 2 ]; then
|
||||
fail "ssh-add did not fail for ${UNPRIV}: $r < 2"
|
||||
|
|
Loading…
Reference in New Issue