<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/bin/sh/tests/parser, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-05-12T21:59:21Z</updated>
<entry>
<title>sh/tests: Test some obscure cases with aliasing keywords</title>
<updated>2020-05-12T21:59:21Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2020-05-12T21:59:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1bb4b6a76af6d04fe9d64ddad72fab84c0c84687'/>
<id>urn:sha1:1bb4b6a76af6d04fe9d64ddad72fab84c0c84687</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Test that backslash-newline within single-quotes is not special</title>
<updated>2018-05-11T21:56:01Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2018-05-11T21:56:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0c6c134f7959111a99af3893cf74432d71952f49'/>
<id>urn:sha1:0c6c134f7959111a99af3893cf74432d71952f49</id>
<content type='text'>
This works correctly, but the test may be helpful when modifying the parser.
</content>
</entry>
<entry>
<title>sh: Fix use after free when resetting an in-use alias.</title>
<updated>2017-04-16T22:10:02Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2017-04-16T22:10:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=026dfd4aef23cb230f388e1e11faecd7a508f4e6'/>
<id>urn:sha1:026dfd4aef23cb230f388e1e11faecd7a508f4e6</id>
<content type='text'>
The special case of modifying an existing alias does not work correctly if
the alias is currently in use. Instead, handle this case by unaliasing the
old alias (if any) and then creating a new alias.
</content>
</entry>
<entry>
<title>sh: Link the new test to the build.</title>
<updated>2017-04-16T21:57:25Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2017-04-16T21:57:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=683bf56cf6c582fccdec8f233ccbadc8532c1ba4'/>
<id>urn:sha1:683bf56cf6c582fccdec8f233ccbadc8532c1ba4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Fix unalias -a while an alias is currently in use.</title>
<updated>2017-04-16T21:42:43Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2017-04-16T21:42:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=773e27aeee7d59ff38be751ea59493f716f06185'/>
<id>urn:sha1:773e27aeee7d59ff38be751ea59493f716f06185</id>
<content type='text'>
It is a rare situation to modify aliases while an alias is currently in use,
but this is handled for plain unalias. Handle it for unalias -a as well.
</content>
</entry>
<entry>
<title>sh: Add test for unaliasing an alias that is currently in use.</title>
<updated>2017-04-08T21:57:59Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2017-04-08T21:57:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5850a75952012c7bcc3a501b796a5ea92ae05fbd'/>
<id>urn:sha1:5850a75952012c7bcc3a501b796a5ea92ae05fbd</id>
<content type='text'>
This already works correctly.
</content>
</entry>
<entry>
<title>Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed</title>
<updated>2016-05-04T23:20:53Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2016-05-04T23:20:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=430f7286a566b1407c7b32ce13585caf5aa59b92'/>
<id>urn:sha1:430f7286a566b1407c7b32ce13585caf5aa59b92</id>
<content type='text'>
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 &lt;bsd.own.mk&gt;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
</content>
</entry>
<entry>
<title>MFH</title>
<updated>2016-03-10T21:16:01Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-03-10T21:16:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7d536dc855c85c15bf45f033d108a61b1f3cecc3'/>
<id>urn:sha1:7d536dc855c85c15bf45f033d108a61b1f3cecc3</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Connect MK_TESTS.</title>
<updated>2016-03-09T22:46:01Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-03-09T22:46:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=15c433351f54e7cd5bec8d36c8e89e6a7fa55b26'/>
<id>urn:sha1:15c433351f54e7cd5bec8d36c8e89e6a7fa55b26</id>
<content type='text'>
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>MFH</title>
<updated>2016-02-24T03:08:58Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-02-24T03:08:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=aef2f6ad2e64655fcc1ab4f9b26e1c7eb20bbe00'/>
<id>urn:sha1:aef2f6ad2e64655fcc1ab4f9b26e1c7eb20bbe00</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
</feed>
