freebsd-skq/bin/sh/tests/parser
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
..
alias1.0
alias2.0
alias3.0
alias4.0
alias5.0
alias6.0
alias7.0
alias8.0
alias9.0
alias10.0
alias11.0 sh: Do not depend on parse/execute split in new alias test. 2014-01-24 23:00:35 +00:00
alias12.0 sh: Add tests for alias names after another alias. 2014-01-25 14:59:08 +00:00
alias13.0 sh: Add tests for alias names after another alias. 2014-01-25 14:59:08 +00:00
alias14.0 sh: Allow aliases to force alias substitution on the following word. 2014-01-26 21:19:33 +00:00
alias15.0 sh: Allow aliases to force alias substitution on the following word. 2014-01-26 21:19:33 +00:00
alias15.0.stdout sh: Allow aliases to force alias substitution on the following word. 2014-01-26 21:19:33 +00:00
and-pipe-not.0
case1.0
case2.0
comment1.0 sh: Add tests for comments in sh -c. 2016-02-19 16:56:07 +00:00
comment2.42 sh: Add tests for comments in sh -c. 2016-02-19 16:56:07 +00:00
dollar-quote1.0
dollar-quote2.0
dollar-quote3.0
dollar-quote4.0
dollar-quote5.0
dollar-quote6.0
dollar-quote7.0
dollar-quote8.0
dollar-quote9.0
dollar-quote10.0
dollar-quote11.0
dollar-quote12.0 sh: Add test for $'\u' without any digits. 2015-08-20 21:31:36 +00:00
dollar-quote13.0 sh: Avoid negative character values from $'\Uffffffff' etc. 2015-08-20 22:05:55 +00:00
empty-braces1.0
empty-cmd1.0
for1.0
for2.0
func1.0
func2.0
func3.0
heredoc1.0
heredoc2.0
heredoc3.0
heredoc4.0
heredoc5.0
heredoc6.0
heredoc7.0
heredoc8.0
heredoc9.0
heredoc10.0
heredoc11.0
heredoc12.0 sh: Remove arbitrary length limit on << EOF markers. 2014-09-14 16:46:30 +00:00
heredoc13.0 sh: Allow empty << EOF markers. 2015-09-02 19:49:55 +00:00
line-cont1.0 sh: Add some tests for backslash-newline continuation. 2014-10-17 21:52:57 +00:00
line-cont2.0 sh: Add some tests for backslash-newline continuation. 2014-10-17 21:52:57 +00:00
line-cont3.0 sh: Add some tests for backslash-newline continuation. 2014-10-17 21:52:57 +00:00
line-cont4.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont5.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont6.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont7.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont8.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont9.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont10.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
line-cont11.0 sh: Allow backslash-newline continuation in more places: 2014-10-19 11:59:15 +00:00
Makefile Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
no-space1.0
no-space2.0
nul1.0 sh: Rework code to remove '\0' from shell input. 2016-02-19 21:53:12 +00:00
only-redir1.0
only-redir2.0
only-redir3.0
only-redir4.0
pipe-not1.0
set-v1.0 sh: Fix set -v and multiline history after r295825. 2016-02-23 22:44:01 +00:00
set-v1.0.stderr sh: Fix set -v and multiline history after r295825. 2016-02-23 22:44:01 +00:00
var-assign1.0