freebsd-dev/usr.sbin/makefs
Enji Cooper 430f7286a5 Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary 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 examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division
2016-05-04 23:20:53 +00:00
..
cd9660 Import the fix from NetBSD kern/48852 (sic) to fix rockridge encoding of 2015-10-24 23:16:13 +00:00
ffs Use MIN/MAX macros from sys/param.h. 2016-05-02 01:47:13 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
cd9660.c Limit isoLevel to 1 and 2 to avoid segfaulting when isoLevel is set to 3 by 2015-11-02 08:43:15 +00:00
cd9660.h Allow contents of multiple directories to be merged to the current image. 2012-01-31 00:32:37 +00:00
ffs.c makefs: introduce a new option to specify what to round the resulting 2015-10-13 02:32:15 +00:00
ffs.h
Makefile Correctly reintroduce the rudimentary smoke tests I botched up 2015-10-22 05:32:45 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
makefs.8 Bump .Dd 2015-11-09 09:39:59 +00:00
makefs.c Fix getopt(3) argument after r290180; I forgot to change -r to -R 2015-12-29 20:17:40 +00:00
makefs.h makefs: introduce a new option to specify what to round the resulting 2015-10-13 02:32:15 +00:00
mtree.c Don't leak 'var'. 2015-09-03 01:15:23 +00:00
walk.c Remove duplicated copies of various NetBSD compatibility shims used by 2013-05-09 14:43:36 +00:00