From: Darren Tucker Date: Mon, 27 Mar 2023 01:22:30 +0000 (+1100) Subject: Also look for gdb error message from OpenIndiana. X-Git-Tag: V_9_4_P1~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154d8baf631327163571760c2c524bc93c37567c;p=thirdparty%2Fopenssh-portable.git Also look for gdb error message from OpenIndiana. --- diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh index df55b34a5..6f172998d 100644 --- a/regress/agent-ptrace.sh +++ b/regress/agent-ptrace.sh @@ -55,7 +55,7 @@ EOF if [ $r -ne 0 ]; then fail "gdb failed: exit code $r" fi - egrep 'ptrace: Operation not permitted.|procfs:.*Permission denied.|ttrace.*Permission denied.|procfs:.*: Invalid argument.|Unable to access task ' >/dev/null ${OBJ}/gdb.out + egrep 'Operation not permitted.|Permission denied.|Invalid argument.|Unable to access task|Inappropriate ioctl for device.' >/dev/null ${OBJ}/gdb.out r=$? rm -f ${OBJ}/gdb.out if [ $r -ne 0 ]; then