<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/lib/libc/gen, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Integrate tools/regression/lib/libc/gen into the FreeBSD test suite</title>
<updated>2015-11-09T06:24:11+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-11-09T06:24:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fbf5b9f8a28a7e7798eb9f8c567ce9fa2b306511'/>
<id>fbf5b9f8a28a7e7798eb9f8c567ce9fa2b306511</id>
<content type='text'>
as lib/libc/tests/gen

The code in test-fnmatch that was used for generating:

- bin/sh/tests/builtins/case2.0
- bin/sh/tests/builtins/case3.0

has been left undisturbed. The target `make sh-tests` has been moved over
from tools/regression/lib/libc/gen/Makefile to
lib/libc/tests/gen/Makefile and made into a PHONY target

case2.0 and case3.0 test input generation isn't being done automatically.
This needs additional discussion.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as lib/libc/tests/gen

The code in test-fnmatch that was used for generating:

- bin/sh/tests/builtins/case2.0
- bin/sh/tests/builtins/case3.0

has been left undisturbed. The target `make sh-tests` has been moved over
from tools/regression/lib/libc/gen/Makefile to
lib/libc/tests/gen/Makefile and made into a PHONY target

case2.0 and case3.0 test input generation isn't being done automatically.
This needs additional discussion.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>wordexp(): Improve some error codes.</title>
<updated>2015-08-19T20:31:03+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-08-19T20:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=89cead337af64e70a6ac854f01d2699afd83751c'/>
<id>89cead337af64e70a6ac854f01d2699afd83751c</id>
<content type='text'>
Distinguish between WRDE_BADVAL and WRDE_SYNTAX based on when the error
occurred (parsing or execution), not based on whether WRDE_UNDEF was passed.

Also, return WRDE_NOSPACE for a few more unexpected results from sh.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Distinguish between WRDE_BADVAL and WRDE_SYNTAX based on when the error
occurred (parsing or execution), not based on whether WRDE_UNDEF was passed.

Also, return WRDE_NOSPACE for a few more unexpected results from sh.
</pre>
</div>
</content>
</entry>
<entry>
<title>wordexp(): Add testcase for non-default IFS in environment.</title>
<updated>2015-03-29T22:00:24+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-03-29T22:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9d14d0aaaecff4b81381344c15b6803c3b374d5f'/>
<id>9d14d0aaaecff4b81381344c15b6803c3b374d5f</id>
<content type='text'>
The non-default IFS is expected to be used.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The non-default IFS is expected to be used.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase and</title>
<updated>2014-11-16T20:29:57+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-11-16T20:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=53cecec82eb1ccfc401bdec2e34386c017466e14'/>
<id>53cecec82eb1ccfc401bdec2e34386c017466e14</id>
<content type='text'>
Rename as lib/libc/stdio/fpclassify2_test

Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename as lib/libc/stdio/fpclassify2_test

Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove test-arc4random from this Makefile so others can continue to use</title>
<updated>2014-11-16T07:58:06+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-11-16T07:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f1bcbd4abae7fb842edf5fac2d7262cc3cccd106'/>
<id>f1bcbd4abae7fb842edf5fac2d7262cc3cccd106</id>
<content type='text'>
this as-is for the time being
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this as-is for the time being
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase and</title>
<updated>2014-11-16T07:55:28+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-11-16T07:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=37074d966da824e145f5ac5195333716e93fb1e0'/>
<id>37074d966da824e145f5ac5195333716e93fb1e0</id>
<content type='text'>
rename as lib/libc/gen/arc4random_test

Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rename as lib/libc/gen/arc4random_test

Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>fnmatch(): Add test for r254091 (pattern with single backslash).</title>
<updated>2013-08-11T21:54:20+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-11T21:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=88dae73d360e8bfa607ae9fbee4bc0b73ec54d65'/>
<id>88dae73d360e8bfa607ae9fbee4bc0b73ec54d65</id>
<content type='text'>
This test cannot be converted to an sh(1) test because the syntax would be
invalid.

PR:		181129
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test cannot be converted to an sh(1) test because the syntax would be
invalid.

PR:		181129
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>wordexp(): Fix syntax validation for backslashes in single-quotes.</title>
<updated>2013-07-23T21:09:26+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-07-23T21:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8d0f6b5fc22228bc7af101f9e1b56cb5eeae9e3c'/>
<id>8d0f6b5fc22228bc7af101f9e1b56cb5eeae9e3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing headers.</title>
<updated>2013-07-17T00:58:23+00:00</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2013-07-17T00:58:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2f31c8f52ebfcafb78f6d31bad1333180a08e69d'/>
<id>2f31c8f52ebfcafb78f6d31bad1333180a08e69d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>popen(): Add 'e' mode character to set close-on-exec on the new fd.</title>
<updated>2013-05-20T17:31:18+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-05-20T17:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9dec7758d3372e48746d32ba8c485cf89d83802'/>
<id>e9dec7758d3372e48746d32ba8c485cf89d83802</id>
<content type='text'>
If 'e' is used, the kernel must support the recently added pipe2() system
call.

The use of pipe2() with O_CLOEXEC also fixes race conditions between
concurrent popen() calls from different threads, even if the close-on-exec
flag on the fd of the returned FILE is later cleared (because popen() closes
all file descriptors from earlier popen() calls in the child process).
Therefore, this approach should be used in all cases when pipe2() can be
assumed present.

The old version of popen() rejects "re" and "we" but treats "r+e" like "r+".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If 'e' is used, the kernel must support the recently added pipe2() system
call.

The use of pipe2() with O_CLOEXEC also fixes race conditions between
concurrent popen() calls from different threads, even if the close-on-exec
flag on the fd of the returned FILE is later cleared (because popen() closes
all file descriptors from earlier popen() calls in the child process).
Therefore, this approach should be used in all cases when pipe2() can be
assumed present.

The old version of popen() rejects "re" and "we" but treats "r+e" like "r+".
</pre>
</div>
</content>
</entry>
</feed>
