- (dtucker) [Makefile regress/Makefile] Fix portability issues preventing

the regression tests from running with Solaris' make.  Patch from Brian
   Poole (raj at cerias.purdue.edu).

Further info:  Solaris' /usr/ccs/bin/make
* requires a space before "+=" (but not "=")
* does not like @for

The bit that relies on a trailing "/" on $OBJ so "rm ${OBJ}$$F works in the
current dir if OBJ isn't set is my fault.  Nasty but it works.
This commit is contained in:
Darren Tucker 2003-09-14 11:40:35 +10:00
parent 455813b79e
commit b12d16fd00
3 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,8 @@
20030914
- (dtucker) [Makefile regress/Makefile] Fix portability issues preventing
the regression tests from running with Solaris' make. Patch from Brian
Poole (raj at cerias.purdue.edu).
20030913 20030913
- (dtucker) [regress/agent-timeout.sh] Timeout of 5 sec is borderline for - (dtucker) [regress/agent-timeout.sh] Timeout of 5 sec is borderline for
slower hosts, increase to 10 sec. slower hosts, increase to 10 sec.
@ -1086,4 +1091,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.2989 2003/09/13 12:02:05 dtucker Exp $ $Id: ChangeLog,v 1.2990 2003/09/14 01:40:35 dtucker Exp $

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.248 2003/09/12 20:02:16 tim Exp $ # $Id: Makefile.in,v 1.249 2003/09/14 01:40:36 dtucker Exp $
# uncomment if you run a non bourne compatable shell. Ie. csh # uncomment if you run a non bourne compatable shell. Ie. csh
#SHELL = @SH@ #SHELL = @SH@
@ -386,7 +386,7 @@ tests: $(TARGETS)
.OBJDIR="$${BUILDDIR}/regress" \ .OBJDIR="$${BUILDDIR}/regress" \
.CURDIR="`pwd`" \ .CURDIR="`pwd`" \
BUILDDIR="$${BUILDDIR}" \ BUILDDIR="$${BUILDDIR}" \
OBJ="$${BUILDDIR}/regress" \ OBJ="$${BUILDDIR}/regress/" \
PATH="$${BUILDDIR}:$${PATH}" \ PATH="$${BUILDDIR}:$${PATH}" \
TEST_SSH_SSH="$${TEST_SSH_SSH}" \ TEST_SSH_SSH="$${TEST_SSH_SSH}" \
TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \

View File

@ -1,13 +1,11 @@
# $OpenBSD: Makefile,v 1.24 2003/07/03 08:24:13 markus Exp $ # $OpenBSD: Makefile,v 1.24 2003/07/03 08:24:13 markus Exp $
OBJ ?= `pwd`
REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec
tests: $(REGRESS_TARGETS) tests: $(REGRESS_TARGETS)
CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 CLEANFILES += t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2
clean: clean:
@for F in $(CLEANFILES); do rm -f $(OBJ)/$${F}; done for F in $(CLEANFILES); do rm -f $(OBJ)$$F; done
distclean: clean distclean: clean
LTESTS= connect \ LTESTS= connect \
@ -38,13 +36,13 @@ LTESTS= connect \
forwarding forwarding
USER!= id -un USER!= id -un
CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \ CLEANFILES += authorized_keys_${USER} known_hosts pidfile \
ssh_config ssh_proxy sshd_config sshd_proxy \ ssh_config ssh_proxy sshd_config sshd_proxy \
rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \ rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \
rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \ rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \
ls.copy remote_pid ls.copy remote_pid
#LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp #LTESTS += ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
t1: t1:
ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv