svn commit: r270724 - in stable/10: etc/mtree lib/libutil lib/libutil/tests tools/regression/lib/libutil

Garrett Cooper ngie at FreeBSD.org
Wed Aug 27 18:25:16 UTC 2014


Author: ngie
Date: Wed Aug 27 18:25:14 2014
New Revision: 270724
URL: http://svnweb.freebsd.org/changeset/base/270724

Log:
  MFC r270180:
  
  r269906:
  
   Add missing BSD.tests.dist entry for lib/libutil to unbreak installworld with
   MK_TESTS == no
  
   Phabric: D555
   Approved by: jmmv (mentor, implicit)
   Pointyhat to: ngie
  
  r269904:
  
   Integrate lib/libutil into the build/kyua
  
   Remove the .t wrappers
  
   Rename all of the TAP test applications from test-<test> to
   <test>_test to match the convention described in the TestSuite
   wiki page
  
   humanize_number_test.c:
  
   - Fix -Wformat warnings with counter variables
   - Fix minor style(9) issues:
   -- Header sorting
   -- Variable declaration alignment/sorting in main(..)
   -- Fit the lines in <80 columns
   - Fix an off by one index error in the testcase output [*]
   - Remove unnecessary `extern char * optarg;` (this is already provided by
     unistd.h)
  
   Phabric: D555
   Approved by: jmmv (mentor)
   Obtained from: EMC / Isilon Storage Division [*]
   Submitted by: Casey Peel <cpeel at isilon.com> [*]
   Sponsored by: EMC / Isilon Storage Division

Added:
  stable/10/lib/libutil/tests/
     - copied from r269904, head/lib/libutil/tests/
Deleted:
  stable/10/tools/regression/lib/libutil/
Modified:
  stable/10/etc/mtree/BSD.tests.dist
  stable/10/lib/libutil/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/mtree/BSD.tests.dist
==============================================================================
--- stable/10/etc/mtree/BSD.tests.dist	Wed Aug 27 18:00:58 2014	(r270723)
+++ stable/10/etc/mtree/BSD.tests.dist	Wed Aug 27 18:25:14 2014	(r270724)
@@ -87,6 +87,8 @@
             ..
             libmp
             ..
+            libutil
+            ..
         ..
         libexec
             atf

Modified: stable/10/lib/libutil/Makefile
==============================================================================
--- stable/10/lib/libutil/Makefile	Wed Aug 27 18:00:58 2014	(r270723)
+++ stable/10/lib/libutil/Makefile	Wed Aug 27 18:25:14 2014	(r270724)
@@ -81,4 +81,8 @@ MLINKS+=pw_util.3 pw_copy.3 \
 	pw_util.3 pw_tempname.3 \
 	pw_util.3 pw_tmp.3
 
+.if ${MK_TESTS} != "no"
+SUBDIR+=	tests
+.endif
+
 .include <bsd.lib.mk>


More information about the svn-src-all mailing list