git: 6ba1feba9777 - stable/15 - usr.bin/tftp: remove tests when MK_TFTP=no
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Feb 2026 03:41:35 UTC
The branch stable/15 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=6ba1feba9777abff77b6c2b519bbc5ff65dd7d40
commit 6ba1feba9777abff77b6c2b519bbc5ff65dd7d40
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-03 05:44:47 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-22 03:39:52 +0000
usr.bin/tftp: remove tests when MK_TFTP=no
These tests require the tftp client, which is not installed when
`MK_TFTP=no`. Remove them when that's not true.
MFC after: 1 week
(cherry picked from commit e1f36b9db9220cf51c6c3d2d2ad230fb9490bc3e)
---
tools/build/mk/OptionalObsoleteFiles.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 06177cee6c70..7d348b0fce40 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -8323,7 +8323,10 @@ OLD_FILES+=usr/share/man/man1/tftp.1.gz
OLD_FILES+=usr/share/man/man8/tftpd.8.gz
OLD_FILES+=usr/tests/libexec/tftpd/functional
OLD_FILES+=usr/tests/libexec/tftpd/Kyuafile
+OLD_FILES+=usr/tests/usr.bin/tftp/tftp_test
+OLD_FILES+=usr/tests/usr.bin/tftp/Kyuafile
OLD_DIRS+=usr/tests/libexec/tftpd
+OLD_DIRS+=usr/tests/usr.bin/tftp
.endif
.if ${MK_TOOLCHAIN} == no