<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/usr.bin/printf, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-03-16T08:04:06Z</updated>
<entry>
<title>Migrate most of tools/regression/usr.bin/ to the new tests layout.</title>
<updated>2014-03-16T08:04:06Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-16T08:04:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a92d97ff0f22d21608e1c19b83104c4937523b6'/>
<id>urn:sha1:3a92d97ff0f22d21608e1c19b83104c4937523b6</id>
<content type='text'>
I'm starting with the easy cases.  The leftovers need to be looked at a
bit more closely.

Note that this change _does_ modify the code of the old tests.  This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.

Also note that at least one test is known to be broken here.  Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that.  Will have to be
fixed separately.
</content>
</entry>
<entry>
<title>Fix printf tests so that they run cleanly with prove.</title>
<updated>2014-03-09T19:37:01Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-09T19:37:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=68f5aa61eb6cc9e5432b2b9a75553286198b234c'/>
<id>urn:sha1:68f5aa61eb6cc9e5432b2b9a75553286198b234c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add an additional regression tests for other cases to ensure these do not get fixed by accident.</title>
<updated>2012-12-18T21:42:45Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-12-18T21:42:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad9d6ff06a8787106ee7b80c4f9cf6fb8e971290'/>
<id>urn:sha1:ad9d6ff06a8787106ee7b80c4f9cf6fb8e971290</id>
<content type='text'>
</content>
</entry>
<entry>
<title>POSIX requires that non-existent or null arguments be treated as if a</title>
<updated>2012-12-18T21:02:38Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-12-18T21:02:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f01c791e9c708e5039eb19974d55748ea3cf394'/>
<id>urn:sha1:2f01c791e9c708e5039eb19974d55748ea3cf394</id>
<content type='text'>
zero argument were supplied.

Add a regression test to catch this case as well.

PR:		bin/174521
Submitted by:	Daniel Shahaf &lt;danielsh@elego.de&gt; (pr)
Submitted by:	Mark Johnston &lt;markjdb@gmail.com&gt; (initial patch)
Reviewed by:	jilles
Approved by:	cperciva (implicit)
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>printf: Allow multibyte characters for '&lt;char&gt; form, avoid negative codes.</title>
<updated>2011-05-28T11:37:47Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-05-28T11:37:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=98102dabd3d1f00bb970634a5722be0f7e93078d'/>
<id>urn:sha1:98102dabd3d1f00bb970634a5722be0f7e93078d</id>
<content type='text'>
Examples:
  LC_ALL=en_US.UTF-8 printf '%d\n' $(printf \'\\303\\244)
  LC_ALL=en_US.ISO8859-1 printf '%d\n' $(printf \'\\344)
Both of these should print 228.

Like some other shells, incomplete or invalid multibyte characters yield the
value of the first byte without a warning.

Note that there is no general way to go back from the character code to the
character.
</content>
</entry>
<entry>
<title>printf: Test that the "--" option terminator works.</title>
<updated>2010-12-08T22:54:18Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-12-08T22:54:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c95cbaf9b72cfa03e22e8f13ceca1122d8954d7'/>
<id>urn:sha1:1c95cbaf9b72cfa03e22e8f13ceca1122d8954d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Also test \0 in the format string.</title>
<updated>2005-04-14T18:33:14Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-04-14T18:33:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a87ba6e923f71f4bc9ecae348cbd3485fc178cca'/>
<id>urn:sha1:a87ba6e923f71f4bc9ecae348cbd3485fc178cca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a few regression tests for printf(1).</title>
<updated>2005-04-13T20:08:17Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-04-13T20:08:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=91e3aee000cdbe44bd01faa480dc76102220ede5'/>
<id>urn:sha1:91e3aee000cdbe44bd01faa480dc76102220ede5</id>
<content type='text'>
</content>
</entry>
</feed>
