Hi,

some ssh unittest ist failing because it links stuff together in another way.
basically add 'sshbuf-misc.c' to SRCS.
additional suggestion: make variable assignments similar to ports

mbuhl

Index: regress/usr.bin/ssh/unittests/misc/Makefile
===================================================================
RCS file: /mount/openbsd/cvs/src/regress/usr.bin/ssh/unittests/misc/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- regress/usr.bin/ssh/unittests/misc/Makefile 28 Apr 2019 22:53:26 -0000      
1.1
+++ regress/usr.bin/ssh/unittests/misc/Makefile 22 Aug 2019 20:06:46 -0000
@@ -1,14 +1,15 @@
 #      $OpenBSD: Makefile,v 1.1 2019/04/28 22:53:26 dtucker Exp $
 
-PROG=test_misc
-SRCS=tests.c
+PROG = test_misc
+SRCS = tests.c
 
 # From usr.bin/ssh/Makefile.inc
-SRCS+=sshbuf.c sshbuf-getput-basic.c ssherr.c log.c xmalloc.c misc.c
+SRCS +=        sshbuf.c sshbuf-getput-basic.c sshbuf-misc.c ssherr.c log.c\
+       xmalloc.c misc.c
 # From usr/bin/ssh/sshd/Makefile
-SRCS+=atomicio.c cleanup.c fatal.c
+SRCS +=        atomicio.c cleanup.c fatal.c
 
-REGRESS_TARGETS=run-regress-${PROG}
+REGRESS_TARGETS =      run-regress-${PROG}
 
 run-regress-${PROG}: ${PROG}
        env ${TEST_ENV} ./${PROG}

Reply via email to