1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00

Mark two regress/sbin/ifconfig tests as expected failures.

They make use of the by now unsupported SIOCSIFDSTADDR ioctl command.
They should instead make use of the SIOCAIFADDR ioctl command, however
figuring out such change is above my pay grade.
This commit is contained in:
anton 2024-10-19 07:10:55 +00:00
parent 435d593c3e
commit 9cfd9950db

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2020/12/17 00:51:12 bluhm Exp $
# $OpenBSD: Makefile,v 1.7 2024/10/19 07:10:55 anton Exp $
# Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org>
#
@ -291,6 +291,8 @@ run-ether-ifaddr-prefixlen:
grep 'inet ${ETHER_ADDR} netmask 0xffffff00 ' ifconfig.out
REGRESS_TARGETS += run-ppp-ifaddr-destination
# XXX uses unsupported SIOCSIFDSTADDR ioctl command.
REGRESS_EXPECTED_FAILURES += run-ppp-ifaddr-destination
run-ppp-ifaddr-destination:
${IFADDR} ${PPP_IF} ${PPP_ADDR} ${PPP_DEST}
/sbin/ifconfig ${PPP_IF} >ifconfig.out
@ -320,6 +322,8 @@ run-ether-ifaddr-change-netmask:
grep 'inet ${ETHER_NET}.2 netmask 0xffffff00 ' ifconfig.out
REGRESS_TARGETS += run-ppp-ifaddr-change-destination
# XXX uses unsupported SIOCSIFDSTADDR ioctl command.
REGRESS_EXPECTED_FAILURES += run-ppp-ifaddr-change-destination
run-ppp-ifaddr-change-destination:
${IFADDR} ${PPP_IF} ${PPP_NET}.1 ${PPP_NET}.11
${IFADDR} ${PPP_IF} ${PPP_NET}.2 ${PPP_NET}.12 alias