Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
devd: correct two warnings- catching a polymorphic type by value- "output between 16 and 95 bytes into a destination of size 80"
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Require devd to be running for its ATF tests to runThe ATF tests communicate with the system's running devdPR: 220169Reported by: gjbMFC after: 3 weeksSponsored by: Spectra Logic Corp
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that na
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed- Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously.- Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.- Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)Document the proposed changes in share/examples/tests/tests/... via examplesso it's clear that ${PACKAGES}FILES is the suggested way forward in terms ofreplacing FILES. share/mk/bsd.README didn't seem like the appropriate methodof communicating that info.MFC after: never probablyX-MFC with: r298107PR: 209114Relnotes: yesTested with: buildworld, installworld, checkworld; buildworld, packageworldSponsored by: EMC / Isilon Storage Division
show more ...
Fix an intermittent bug in sbin/devd/client_test.streamIn case where the two events were being received in separate reads, theevent buffer was being null-terminated at the wrong offset.Also, fac
Fix an intermittent bug in sbin/devd/client_test.streamIn case where the two events were being received in separate reads, theevent buffer was being null-terminated at the wrong offset.Also, factored out some common code between the tests, and fixed a comment.Submitted by: willMFC after: 3 daysSponsored by: Spectra Logic Corp
DIRDEPS_BUILD: Connect MK_TESTS.Sponsored by: EMC / Isilon Storage Division
Avoid adding the '-release' suffix to non-debug kernel packages.Sponsored by: The FreeBSD Foundation
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk- Remove unnecessary TESTSDIR setting- Use SRCTOP where possible for clarityMFC after: 2 weeksSponsored by: EMC / Isilon Storage Divison
Misc fixes suggested by Coverity.sbin/devd/tests/client_test.c * In the event that popen fails, don't dereference its return value. * Fix array overwrite in the stream and seqpacket tests. * Clo
Misc fixes suggested by Coverity.sbin/devd/tests/client_test.c * In the event that popen fails, don't dereference its return value. * Fix array overwrite in the stream and seqpacket tests. * Close sockets at the end of successful ATF tests.Reported by: Coverity scanCID: 1232019, 1232020, 1232029, 1232030MFC after: 1 weekSponsored by: Spectra Logic
Remove bogus ; at the end of the if condition in order to unbreak gcc buildsafter r270004.MFC after: 4 daysX-MFX with: r270004
Convert devd's client socket to type SOCK_SEQPACKET.This change consists of two merges from projects/zfsd/head along with theaddition of an ATF test case for the new functionality.sbin/devd/test
Convert devd's client socket to type SOCK_SEQPACKET.This change consists of two merges from projects/zfsd/head along with theaddition of an ATF test case for the new functionality.sbin/devd/tests/Makefilesbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types.r266519:sbin/devd/devd.8sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients.r269993:sbin/devd/devd.8 Fix grammar bug.CR: https://reviews.freebsd.org/rS266519MFC after: 5 daysSponsored by: Spectra Logic