History log of /freebsd-current/sbin/dhclient/tests/pcp.sh
Revision Date Author Comments
# 5575d5a5 17-Jun-2022 Kristof Provost <kp@FreeBSD.org>

dhclient: fix pcp:pcp cleanup failure

If isc-dhcp44-server is not installed (as is the case the project's CI
servers) we don't create ngctl.shutdown, causing the 'rm' to fail.
That in turn causes the cleanup function to return non-zero, which
causes kyua to consider the test failed.

Use 'rm -f' instead, so we don't error even if the file doesn't exist.

Sponsored by: Rubicon Communications, LLC ("Netgate")


# 35dc7f8f 11-May-2022 John-Mark Gurney <jmg@FreeBSD.org>

dhclient: test against a real (ISC) dhcp server

This tests both both normal (untagged), and pcp tagged (VLAN 0)
networks which are now common for fiber ISPs.

Reviewed by: markj, kp
Differential Revision: https://reviews.freebsd.org/D35178