- (djm) [regress/agent-getpeereid.sh] leave stdout attached when running

ssh-add to avoid $SUDO failures on Linux
This commit is contained in:
Damien Miller 2011-01-17 11:52:40 +11:00
parent fd3669eb26
commit 1ccbfa88b1
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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"