- [Makefile.in] Add "make tests" target and "make clean" hooks.
- [regress/agent-getpeereid.sh] Skip test on platforms that don't support
getpeereid.
+ - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or
+ gdb cannot be found.
20030903
- (djm) OpenBSD CVS Sync
tid="disallow agent ptrace attach"
+if [ -x `which uname 2>&1` ]; then
+ case `uname` in
+ Linux|HP-UX|SunOS|NetBSD|AIX)
+ echo "skipped (not supported)"
+ exit 0
+ ;;
+ esac
+fi
+
+if [ ! -x `which gdb 2>&1` ]; then
+ echo "skipped (gdb not found)"
+ exit 0
+fi
+
trace "start agent"
eval `${SSHAGENT} -s` > /dev/null
r=$?