View | Details | Raw Unified | Return to bug 745 | Differences between
and this patch

Collapse All | Expand All

(-)regress/agent-ptrace.sh (-1 / +10 lines)
Lines 5-11 tid="disallow agent ptrace attach" Link Here
5
5
6
if have_prog uname ; then
6
if have_prog uname ; then
7
	case `uname` in
7
	case `uname` in
8
	Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
8
	CYGWIN*)
9
		echo "skipped (not supported on this platform)"
9
		echo "skipped (not supported on this platform)"
10
		exit 0
10
		exit 0
11
		;;
11
		;;
Lines 17-22 if have_prog gdb ; then Link Here
17
else
17
else
18
	echo "skipped (gdb not found)"
18
	echo "skipped (gdb not found)"
19
	exit 0
19
	exit 0
20
fi
21
22
if test -z "$SUDO" ; then
23
	echo "skipped (SUDO not set)"
24
	exit 0
25
else
26
	$SUDO chown root ${OBJ}${SSHAGENT}
27
	$SUDO chgrp root ${OBJ}${SSHAGENT}
28
	$SUDO chmod 2755 ${OBJ}${SSHAGENT}
20
fi
29
fi
21
30
22
trace "start agent"
31
trace "start agent"

Return to bug 745