From owner-svn-src-stable@freebsd.org Tue Jul 18 08:23:48 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A300C7FAAD; Tue, 18 Jul 2017 08:23:48 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28EAA647C0; Tue, 18 Jul 2017 08:23:48 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6I8Nl2H032040; Tue, 18 Jul 2017 08:23:47 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6I8NlQa032038; Tue, 18 Jul 2017 08:23:47 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201707180823.v6I8NlQa032038@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 18 Jul 2017 08:23:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r321114 - in stable/11: etc/mtree lib/libsbuf lib/libsbuf/tests X-SVN-Group: stable-11 X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: in stable/11: etc/mtree lib/libsbuf lib/libsbuf/tests X-SVN-Commit-Revision: 321114 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2017 08:23:48 -0000 Author: ngie Date: Tue Jul 18 08:23:47 2017 New Revision: 321114 URL: https://svnweb.freebsd.org/changeset/base/321114 Log: MFC r316557: sbuf(3): add some basic functional tests for the library Areas not covered still [positive functionality wise] are: - sbuf_{clear,get,set}_flags - sbuf_new (in particular, with fixed buffers, etc). Some basic negative testing has been added, but more will be added in the future. This work was in part to validate work done by cem in r288223, and ian before that. Added: stable/11/lib/libsbuf/tests/ - copied from r316557, head/lib/libsbuf/tests/ Modified: stable/11/etc/mtree/BSD.tests.dist stable/11/lib/libsbuf/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/mtree/BSD.tests.dist ============================================================================== --- stable/11/etc/mtree/BSD.tests.dist Tue Jul 18 08:23:21 2017 (r321113) +++ stable/11/etc/mtree/BSD.tests.dist Tue Jul 18 08:23:47 2017 (r321114) @@ -332,6 +332,8 @@ .. librt .. + libsbuf + .. libthr dlopen .. Modified: stable/11/lib/libsbuf/Makefile ============================================================================== --- stable/11/lib/libsbuf/Makefile Tue Jul 18 08:23:21 2017 (r321113) +++ stable/11/lib/libsbuf/Makefile Tue Jul 18 08:23:47 2017 (r321114) @@ -10,6 +10,10 @@ SHLIB_MAJOR = 6 SYMBOL_MAPS= ${.CURDIR}/Symbol.map VERSION_DEF= ${.CURDIR}/Version.def +.include + .PATH: ${SRCTOP}/sys/kern + +SUBDIR.${MK_TESTS}+= tests .include