upstream: Update unittests for addr.c/addrmatch.c split.
OpenBSD-Regress-ID: de2b415fb7af084a91c6ef147a90482d8f771eef
This commit is contained in:
parent
6d30673fed
commit
b08ef25552
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.5 2020/04/06 09:43:55 dtucker Exp $
|
# $OpenBSD: Makefile,v 1.6 2021/01/09 12:24:30 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_authopt
|
PROG=test_authopt
|
||||||
SRCS=tests.c
|
SRCS=tests.c
|
||||||
|
@ -10,7 +10,7 @@ SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
||||||
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
||||||
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
||||||
SRCS+=addrmatch.c bitmap.c
|
SRCS+=addr.c addrmatch.c bitmap.c
|
||||||
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
||||||
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
||||||
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.3 2020/10/16 14:02:24 djm Exp $
|
# $OpenBSD: Makefile,v 1.4 2021/01/09 12:24:30 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_conversion
|
PROG=test_conversion
|
||||||
SRCS=tests.c
|
SRCS=tests.c
|
||||||
|
@ -6,7 +6,7 @@ SRCS=tests.c
|
||||||
# From usr.bin/ssh
|
# From usr.bin/ssh
|
||||||
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=atomicio.c misc.c xmalloc.c log.c uidswap.c cleanup.c fatal.c ssherr.c
|
SRCS+=atomicio.c misc.c xmalloc.c log.c uidswap.c cleanup.c fatal.c ssherr.c
|
||||||
SRCS+=match.c addrmatch.c
|
SRCS+=match.c addr.c addrmatch.c
|
||||||
|
|
||||||
REGRESS_TARGETS=run-regress-${PROG}
|
REGRESS_TARGETS=run-regress-${PROG}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.8 2020/04/06 09:43:56 dtucker Exp $
|
# $OpenBSD: Makefile,v 1.9 2021/01/09 12:24:30 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_hostkeys
|
PROG=test_hostkeys
|
||||||
SRCS=tests.c test_iterate.c
|
SRCS=tests.c test_iterate.c
|
||||||
|
@ -8,7 +8,7 @@ SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
||||||
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
||||||
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
||||||
SRCS+=addrmatch.c bitmap.c hostfile.c
|
SRCS+=addr.c addrmatch.c bitmap.c hostfile.c
|
||||||
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
||||||
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
||||||
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.11 2020/12/29 01:02:15 djm Exp $
|
# $OpenBSD: Makefile,v 1.12 2021/01/09 12:24:30 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_kex
|
PROG=test_kex
|
||||||
SRCS=tests.c test_kex.c
|
SRCS=tests.c test_kex.c
|
||||||
|
@ -8,7 +8,7 @@ SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
||||||
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
||||||
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
||||||
SRCS+=addrmatch.c bitmap.c packet.c dispatch.c canohost.c ssh_api.c
|
SRCS+=addr.c addrmatch.c bitmap.c packet.c dispatch.c canohost.c ssh_api.c
|
||||||
SRCS+=compat.c ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
SRCS+=compat.c ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
||||||
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
||||||
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.4 2017/12/21 03:01:49 djm Exp $
|
# $OpenBSD: Makefile,v 1.5 2021/01/09 12:24:31 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_match
|
PROG=test_match
|
||||||
SRCS=tests.c
|
SRCS=tests.c
|
||||||
|
@ -6,7 +6,7 @@ SRCS=tests.c
|
||||||
# From usr.bin/ssh
|
# From usr.bin/ssh
|
||||||
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=match.c misc.c log.c uidswap.c fatal.c ssherr.c addrmatch.c xmalloc.c
|
SRCS+=match.c misc.c log.c uidswap.c fatal.c ssherr.c addrmatch.c xmalloc.c
|
||||||
SRCS+=cleanup.c atomicio.c
|
SRCS+=cleanup.c atomicio.c addr.c
|
||||||
|
|
||||||
REGRESS_TARGETS=run-regress-${PROG}
|
REGRESS_TARGETS=run-regress-${PROG}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.3 2020/10/16 14:02:24 djm Exp $
|
# $OpenBSD: Makefile,v 1.4 2021/01/09 12:24:31 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_misc
|
PROG=test_misc
|
||||||
SRCS=tests.c
|
SRCS=tests.c
|
||||||
|
@ -12,6 +12,7 @@ SRCS+= log.c
|
||||||
SRCS+= xmalloc.c
|
SRCS+= xmalloc.c
|
||||||
SRCS+= misc.c
|
SRCS+= misc.c
|
||||||
SRCS+= match.c
|
SRCS+= match.c
|
||||||
|
SRCS+= addr.c
|
||||||
SRCS+= addrmatch.c
|
SRCS+= addrmatch.c
|
||||||
|
|
||||||
# From usr.bin/ssh/sshd/Makefile
|
# From usr.bin/ssh/sshd/Makefile
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.9 2020/10/16 14:02:24 djm Exp $
|
# $OpenBSD: Makefile,v 1.10 2021/01/09 12:24:31 dtucker Exp $
|
||||||
|
|
||||||
# $OpenBSD: Makefile,v 1.8 2020/01/26 00:09:50 djm Exp $
|
# $OpenBSD: Makefile,v 1.8 2020/01/26 00:09:50 djm Exp $
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ SRCS+=test_sshbuf_fixed.c
|
||||||
# From usr.bin/ssh
|
# From usr.bin/ssh
|
||||||
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c misc.c xmalloc.c log.c fatal.c ssherr.c cleanup.c
|
SRCS+=sshbuf-io.c atomicio.c misc.c xmalloc.c log.c fatal.c ssherr.c cleanup.c
|
||||||
SRCS+=match.c addrmatch.c
|
SRCS+=match.c addr.c addrmatch.c
|
||||||
|
|
||||||
run-regress-${PROG}: ${PROG}
|
run-regress-${PROG}: ${PROG}
|
||||||
env ${TEST_ENV} ./${PROG} ${UNITTEST_ARGS}
|
env ${TEST_ENV} ./${PROG} ${UNITTEST_ARGS}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.10 2020/04/06 09:43:56 dtucker Exp $
|
# $OpenBSD: Makefile,v 1.11 2021/01/09 12:24:31 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_sshkey
|
PROG=test_sshkey
|
||||||
SRCS=tests.c test_sshkey.c test_file.c test_fuzz.c common.c
|
SRCS=tests.c test_sshkey.c test_file.c test_fuzz.c common.c
|
||||||
|
@ -8,7 +8,7 @@ SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
||||||
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
||||||
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
||||||
SRCS+=addrmatch.c bitmap.c
|
SRCS+=addr.c addrmatch.c bitmap.c
|
||||||
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
||||||
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
||||||
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: Makefile,v 1.1 2020/06/19 04:32:09 djm Exp $
|
# $OpenBSD: Makefile,v 1.2 2021/01/09 12:24:31 dtucker Exp $
|
||||||
|
|
||||||
PROG=test_sshsig
|
PROG=test_sshsig
|
||||||
SRCS=tests.c
|
SRCS=tests.c
|
||||||
|
@ -8,7 +8,7 @@ SRCS+=sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c
|
||||||
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
||||||
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
SRCS+=ssh-dss.c ssh-ecdsa.c ssh-ed25519.c mac.c umac.c umac128.c hmac.c misc.c
|
||||||
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
SRCS+=ssherr.c uidswap.c cleanup.c xmalloc.c match.c krl.c fatal.c
|
||||||
SRCS+=addrmatch.c bitmap.c sshsig.c
|
SRCS+=addr.c addrmatch.c bitmap.c sshsig.c
|
||||||
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
SRCS+=ed25519.c hash.c ge25519.c fe25519.c sc25519.c verify.c
|
||||||
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
SRCS+=cipher-chachapoly.c chacha.c poly1305.c ssh-ecdsa-sk.c ssh-sk.c
|
||||||
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
SRCS+=ssh-ed25519-sk.c sk-usbhid.c
|
||||||
|
|
Loading…
Reference in New Issue