<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/bin/sh/builtins, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2013-12-11T04:09:17Z</updated>
<entry>
<title>Migrate tools/regression/bin/ tests to the new layout.</title>
<updated>2013-12-11T04:09:17Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2013-12-11T04:09:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=13de33a5dc2304b13d595d75d48c51793958474f'/>
<id>urn:sha1:13de33a5dc2304b13d595d75d48c51793958474f</id>
<content type='text'>
This change is a proof of concept on how to easily integrate existing
tests from the tools/regression/ hierarchy into the /usr/tests/ test
suite and on how to adapt them to the new layout for src.

To achieve these goals, this change:

- Moves tests from tools/regression/bin/&lt;tool&gt;/ to bin/&lt;tool&gt;/tests/.
- Renames the previous regress.sh files to legacy_test.sh.
- Adds Makefiles to build and install the tests and all their supporting
  data files into /usr/tests/bin/.
- Plugs the legacy_test test programs into the test suite using the new
  TAP backend for Kyua (appearing in 0.8) so that the code of the test
  programs does not have to change.
- Registers the new directories in the BSD.test.dist mtree file.

Reviewed by:	freebsd-testing
Approved by:	rpaulo (mentor)
</content>
</entry>
<entry>
<title>sh: Properly quote alias output from command -v.</title>
<updated>2013-11-10T23:00:39Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-10T23:00:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d4d10e3e5ca58c6e2506f15b7256b6608bf237f'/>
<id>urn:sha1:5d4d10e3e5ca58c6e2506f15b7256b6608bf237f</id>
<content type='text'>
An alias should be printed by command -v as a command line; therefore, make
the alias definition suitable for re-input to the shell.
</content>
</entry>
<entry>
<title>sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&amp;'.</title>
<updated>2013-10-30T21:36:15Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-10-30T21:36:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=efd1946c355ec8fd033b7b17bb0baf36cf7cfd7c'/>
<id>urn:sha1:efd1946c355ec8fd033b7b17bb0baf36cf7cfd7c</id>
<content type='text'>
If job control is not enabled, background jobs started with  ... &amp;  ignore
SIGINT and SIGQUIT so that they are not affected by such signals that are
intended for the foreground job. However, this should not prevent
reassigning a different action for these signals (as if the shell invocation
inherited these signal actions from its parent).

Austin group issue #751

Example:
  { trap - INT; exec sleep 10; } &amp; wait
A Ctrl+C should terminate the sleep command.
</content>
</entry>
<entry>
<title>sh: Make return return from the closest function or dot script.</title>
<updated>2013-09-04T22:10:16Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-09-04T22:10:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2935c4cc5e7f254d73ee1e3899372d6a1117a221'/>
<id>urn:sha1:2935c4cc5e7f254d73ee1e3899372d6a1117a221</id>
<content type='text'>
Formerly, return always returned from a function if it was called from a
function, even if there was a closer dot script. This was for compatibility
with the Bourne shell which only allowed returning from functions.

Other modern shells and POSIX return from the function or the dot script,
whichever is closest.

Git 1.8.4's rebase --continue depends on the POSIX behaviour.

Reported by:	Christoph Mallon, avg
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in type builtin.</title>
<updated>2013-08-30T12:09:59Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-30T12:09:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65519ccb4da5884ac3a40c98cd73576203d0537e'/>
<id>urn:sha1:65519ccb4da5884ac3a40c98cd73576203d0537e</id>
<content type='text'>
This implementation makes minimal changes: command names starting with "-"
(other than "--") can still be queried normally.
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in alias builtin.</title>
<updated>2013-08-25T11:42:53Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-25T11:42:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=71828da5ffc38f661b814ac36af9129833b64ae2'/>
<id>urn:sha1:71828da5ffc38f661b814ac36af9129833b64ae2</id>
<content type='text'>
Aliases starting with "-" (which are non-POSIX) will need to be preceded by
an alias not starting with "-" or the newly added "--".
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in bg/fg/jobid builtins.</title>
<updated>2013-08-16T13:56:43Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-16T13:56:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f0ef49bbf45c0819aa3d92c314f8aa0efb1f5033'/>
<id>urn:sha1:f0ef49bbf45c0819aa3d92c314f8aa0efb1f5033</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Add test for the non-standard jobid builtin.</title>
<updated>2013-08-16T13:48:11Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-16T13:48:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4fe1afd789f3df866c9099cd5c279ea49f7de9e8'/>
<id>urn:sha1:4fe1afd789f3df866c9099cd5c279ea49f7de9e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in local builtin.</title>
<updated>2013-08-14T21:59:48Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-14T21:59:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=056fd329b93a681b00b3ea9f67949ca459a66490'/>
<id>urn:sha1:056fd329b93a681b00b3ea9f67949ca459a66490</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Add tests for 'local -' (save shell options).</title>
<updated>2013-06-15T22:22:03Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-06-15T22:22:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7a3000699c33eb39af71e70e92783c6774a1e882'/>
<id>urn:sha1:7a3000699c33eb39af71e70e92783c6774a1e882</id>
<content type='text'>
</content>
</entry>
</feed>
