- (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.
This commit is contained in:
Damien Miller 2011-01-17 11:20:18 +11:00
parent 369c0e8eef
commit fd3669eb26
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
- (djm) [regress/Makefile] use $TEST_SSH_KEYGEN instead of the one in - (djm) [regress/Makefile] use $TEST_SSH_KEYGEN instead of the one in
$PATH, fix cleanup of droppings; reported by openssh AT $PATH, fix cleanup of droppings; reported by openssh AT
roumenpetrov.info; ok dtucker@ 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.
20110116 20110116
- (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based - (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based

View File

@ -41,7 +41,7 @@ EOF
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
fail "gdb failed: exit code $?" fail "gdb failed: exit code $?"
fi fi
egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace.*Permission denied.|procfs:.*: Invalid argument.' >/dev/null ${OBJ}/gdb.out egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace.*Permission denied.|procfs:.*: Invalid argument.|Unable to access task ' >/dev/null ${OBJ}/gdb.out
r=$? r=$?
rm -f ${OBJ}/gdb.out rm -f ${OBJ}/gdb.out
if [ $r -ne 0 ]; then if [ $r -ne 0 ]; then