[regress/agent-ptrace.sh regress/dynamic-forward.sh
regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh] no longer depends on which(1). patch by dtucker@
This commit is contained in:
parent
d546a84ef6
commit
23ee359b08
|
@ -5,6 +5,9 @@
|
||||||
- (tim) [configure.ac] Move libgen tests to before libwrap to unbreak
|
- (tim) [configure.ac] Move libgen tests to before libwrap to unbreak
|
||||||
UnixWare 2.03 using --with-tcp-wrappers.
|
UnixWare 2.03 using --with-tcp-wrappers.
|
||||||
- (tim) [configure.ac] Prefer setuid/setgid on UnixWare and Open Server.
|
- (tim) [configure.ac] Prefer setuid/setgid on UnixWare and Open Server.
|
||||||
|
- (tim) [regress/agent-ptrace.sh regress/dynamic-forward.sh
|
||||||
|
regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh]
|
||||||
|
no longer depends on which(1). patch by dtucker@
|
||||||
|
|
||||||
20030910
|
20030910
|
||||||
- (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine.
|
- (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine.
|
||||||
|
@ -1067,4 +1070,4 @@
|
||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2981 2003/09/12 05:24:36 tim Exp $
|
$Id: ChangeLog,v 1.2982 2003/09/12 05:32:17 tim Exp $
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
tid="disallow agent ptrace attach"
|
tid="disallow agent ptrace attach"
|
||||||
|
|
||||||
if [ -x "`which uname 2>&1`" ]; then
|
if have_prog uname ; then
|
||||||
case `uname` in
|
case `uname` in
|
||||||
Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
|
Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
|
||||||
echo "skipped (not supported on this platform)"
|
echo "skipped (not supported on this platform)"
|
||||||
|
@ -12,7 +12,7 @@ if [ -x "`which uname 2>&1`" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -x "`which gdb 2>&1`" ]; then
|
if ! have_prog gdb ; then
|
||||||
echo "skipped (gdb not found)"
|
echo "skipped (gdb not found)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -7,9 +7,9 @@ PORT=4242
|
||||||
FWDPORT=4243
|
FWDPORT=4243
|
||||||
DATA=/bin/ls${EXEEXT}
|
DATA=/bin/ls${EXEEXT}
|
||||||
|
|
||||||
if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
|
if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
|
||||||
proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
|
proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
|
||||||
elif [ -x "`which connect 2>&1`" ]; then
|
elif have_prog connect; then
|
||||||
proxycmd="connect -S 127.0.0.1:$FWDPORT -"
|
proxycmd="connect -S 127.0.0.1:$FWDPORT -"
|
||||||
else
|
else
|
||||||
echo "skipped (no suitable ProxyCommand found)"
|
echo "skipped (no suitable ProxyCommand found)"
|
||||||
|
|
|
@ -17,7 +17,7 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -x "`which uname 2>&1`" ]
|
if have_prog uname
|
||||||
then
|
then
|
||||||
case `uname` in
|
case `uname` in
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
|
|
|
@ -7,13 +7,13 @@ DATA=/etc/motd
|
||||||
DATA=${OBJ}/data
|
DATA=${OBJ}/data
|
||||||
COPY=${OBJ}/copy
|
COPY=${OBJ}/copy
|
||||||
|
|
||||||
if [ -x "`which md5sum 2>&1`" ]; then
|
if have_prog md5sum; then
|
||||||
CHECKSUM=md5sum
|
CHECKSUM=md5sum
|
||||||
elif [ -x "`which openssl 2>&1`" ]; then
|
elif have_prog openssl; then
|
||||||
CHECKSUM="openssl md5"
|
CHECKSUM="openssl md5"
|
||||||
elif [ -x "`which cksum 2>&1`" ]; then
|
elif have_prog cksum; then
|
||||||
CHECKSUM=cksum
|
CHECKSUM=cksum
|
||||||
elif [ -x "`which sum 2>&1`" ]; then
|
elif have_prog sum; then
|
||||||
CHECKSUM=sum
|
CHECKSUM=sum
|
||||||
else
|
else
|
||||||
fatal "No checksum program available, aborting $tid test"
|
fatal "No checksum program available, aborting $tid test"
|
||||||
|
|
|
@ -6,7 +6,7 @@ PORT=4242
|
||||||
|
|
||||||
if [ -x /usr/ucb/whoami ]; then
|
if [ -x /usr/ucb/whoami ]; then
|
||||||
USER=`/usr/ucb/whoami`
|
USER=`/usr/ucb/whoami`
|
||||||
elif [ -x "`which whoami 2>&1`" ]; then
|
elif whoami >/dev/null 2>&1; then
|
||||||
USER=`whoami`
|
USER=`whoami`
|
||||||
else
|
else
|
||||||
USER=`id -un`
|
USER=`id -un`
|
||||||
|
@ -89,6 +89,21 @@ echon()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
have_prog()
|
||||||
|
{
|
||||||
|
saved_IFS="$IFS"
|
||||||
|
IFS=":"
|
||||||
|
for i in $PATH
|
||||||
|
do
|
||||||
|
if [ -x $i/$1 ]; then
|
||||||
|
IFS="$saved_IFS"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$saved_IFS"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
cleanup ()
|
cleanup ()
|
||||||
{
|
{
|
||||||
if [ -f $PIDFILE ]; then
|
if [ -f $PIDFILE ]; then
|
||||||
|
|
Loading…
Reference in New Issue