freebsd-dev/bin
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
..
cat Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
chflags Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
chio Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
chmod Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
cp Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
csh Stop using sbrk in csh. This is a legacy interface and its use within csh 2016-04-26 11:39:32 +00:00
date Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
dd Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
df Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
domainname Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
echo Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
ed ed(1): switch two statements so we check the index before dereferencing. 2016-04-26 14:31:48 +00:00
expr Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
freebsd-version MFH 2016-04-04 23:55:32 +00:00
getfacl Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
hostname Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
kenv Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
kill Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
ln Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
ls Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
mkdir Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
mv Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
pax Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
pkill Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ps Use NULL instead of 0 for pointers. 2016-04-19 00:40:43 +00:00
pwait Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
pwd Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
rcp MFH 2016-04-12 17:00:13 +00:00
realpath Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
rm Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
rmail MFH 2016-03-02 16:14:46 +00:00
rmdir Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
setfacl Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
sh Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
sleep Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
stty Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
sync Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
test Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +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
uuidgen Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
Makefile Start using the fact that SUBDIR.yes is added to SUBDIR 2015-10-05 21:41:55 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00