<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/bin, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Migrate tools/regression/bin/ tests to the new layout.</title>
<updated>2013-12-11T04:09:17+00:00</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2013-12-11T04:09:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=13de33a5dc2304b13d595d75d48c51793958474f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Make &lt;&amp;0 disable the &lt;/dev/null implicit in a background command.</title>
<updated>2013-11-24T23:12:13+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-24T23:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1b57cec7d999c971d6c4bcb3df6f6397670e1326'/>
<id>1b57cec7d999c971d6c4bcb3df6f6397670e1326</id>
<content type='text'>
Although &lt;&amp;0 does nothing, it is a redirection affecting standard input and
should therefore disable the &lt;/dev/null redirection implicit in a background
command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although &lt;&amp;0 does nothing, it is a redirection affecting standard input and
should therefore disable the &lt;/dev/null redirection implicit in a background
command.
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Add more tests for the &lt;/dev/null implicit in a background command.</title>
<updated>2013-11-24T22:45:49+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-24T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=82baac57778a50aad3ed21177aa5320ef4bad022'/>
<id>82baac57778a50aad3ed21177aa5320ef4bad022</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Add tests for the &lt;/dev/null implicit in a background command.</title>
<updated>2013-11-22T21:50:13+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-22T21:50:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c2fd50d77a512775ce2173a878f3715ad9198ae3'/>
<id>c2fd50d77a512775ce2173a878f3715ad9198ae3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Properly quote alias output from command -v.</title>
<updated>2013-11-10T23:00:39+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-10T23:00:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5d4d10e3e5ca58c6e2506f15b7256b6608bf237f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An alias should be printed by command -v as a command line; therefore, make
the alias definition suitable for re-input to the shell.
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Add a test case for would-be assignments that are not due to quoting.</title>
<updated>2013-11-10T18:46:59+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-11-10T18:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=309ad20076819ee6014255f437de963fdb4f5b52'/>
<id>309ad20076819ee6014255f437de963fdb4f5b52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&amp;'.</title>
<updated>2013-10-30T21:36:15+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-10-30T21:36:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=efd1946c355ec8fd033b7b17bb0baf36cf7cfd7c'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Make return return from the closest function or dot script.</title>
<updated>2013-09-04T22:10:16+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-09-04T22:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2935c4cc5e7f254d73ee1e3899372d6a1117a221'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in type builtin.</title>
<updated>2013-08-30T12:09:59+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-30T12:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=65519ccb4da5884ac3a40c98cd73576203d0537e'/>
<id>65519ccb4da5884ac3a40c98cd73576203d0537e</id>
<content type='text'>
This implementation makes minimal changes: command names starting with "-"
(other than "--") can still be queried normally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implementation makes minimal changes: command names starting with "-"
(other than "--") can still be queried normally.
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Recognize "--" as end of options in alias builtin.</title>
<updated>2013-08-25T11:42:53+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-25T11:42:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71828da5ffc38f661b814ac36af9129833b64ae2'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Aliases starting with "-" (which are non-POSIX) will need to be preceded by
an alias not starting with "-" or the newly added "--".
</pre>
</div>
</content>
</entry>
</feed>
