<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/regression/usr.bin, 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>2015-03-08T14:12:43Z</updated>
<entry>
<title>env: Fix crash when -S string is not empty but no operand follows.</title>
<updated>2015-03-08T14:12:43Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-03-08T14:12:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6ab1d4d9c37d6e19c89fdd87f8bb01fa34526449'/>
<id>urn:sha1:6ab1d4d9c37d6e19c89fdd87f8bb01fa34526449</id>
<content type='text'>
split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().

Examples:
  env -S '\c'
  env -S -i

PR:		197769
MFC after:	1 week
</content>
</entry>
<entry>
<title>env: Fix testsuite for additional variables set by sh.</title>
<updated>2015-03-07T13:54:44Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-03-07T13:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aad75bd7dbb2bbb52a4aead42133e521997502fc'/>
<id>urn:sha1:aad75bd7dbb2bbb52a4aead42133e521997502fc</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Migrate tools/regression/usr.bin/pkill to the new tests layout.</title>
<updated>2014-03-19T12:46:04Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-19T12:46:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65c3cfc1aad4e0570ac0f3f65ff5d7904c3ea3a5'/>
<id>urn:sha1:65c3cfc1aad4e0570ac0f3f65ff5d7904c3ea3a5</id>
<content type='text'>
Interestingly, the pkill tool lives in bin, not usr.bin.  Haven't bothered
to check if this is because the tool moved or because the tests were
originally added in the wrong place.
</content>
</entry>
<entry>
<title>Migrate tools/regression/usr.bin/make/ to the new tests layout.</title>
<updated>2014-03-19T12:29:20Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-19T12:29:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d525bcd959742df2fe7f3dbcd251284537121190'/>
<id>urn:sha1:d525bcd959742df2fe7f3dbcd251284537121190</id>
<content type='text'>
Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default).  Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff.  For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should.  So... to be investigated later; need to poke sjg@.
</content>
</entry>
<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>Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.</title>
<updated>2014-03-16T04:09:22Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-16T04:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d14afb2adcbf0db6625f582abf0c7154e4e005bd'/>
<id>urn:sha1:d14afb2adcbf0db6625f582abf0c7154e4e005bd</id>
<content type='text'>
This change was originally going to only migrate the usr.sbin tests but, as
it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/
so it's better to just also migrate the latter at the same time.  The other
usr.bin tests will be moved separately.

To make these tests work within the test suite, some of them have required
changes to prevent modifying the source directory and instead just rely on
the current directory for file manipulation.
</content>
</entry>
<entry>
<title>Only run the make tests when make is fmake.</title>
<updated>2014-03-12T10:38:32Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-12T10:38:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03a7bb948dbd0fb8a8499c315f61ee0a3b7ea46f'/>
<id>urn:sha1:03a7bb948dbd0fb8a8499c315f61ee0a3b7ea46f</id>
<content type='text'>
Because bmake is the default make being built, many of the tests here
fail due to differences between the two.  Just skip the tests for now
when using fmake.
</content>
</entry>
<entry>
<title>Fix lastcomm tests under amd64.</title>
<updated>2014-03-12T10:35:22Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-12T10:35:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a6a6c004f9fc96d484ff13710c9253e454f858dc'/>
<id>urn:sha1:a6a6c004f9fc96d484ff13710c9253e454f858dc</id>
<content type='text'>
Force the use of TZ=UTC and adjust data files accordingly.  I have no means
to verify that the data files for the other architectures are valid.
</content>
</entry>
<entry>
<title>Fix ncal tests so that they run cleanly with prove.</title>
<updated>2014-03-09T22:16:39Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-09T22:16:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f402eb3ccf38df2729045e0328a32b0af43439c'/>
<id>urn:sha1:6f402eb3ccf38df2729045e0328a32b0af43439c</id>
<content type='text'>
Basically just make the test plan match what is actually being run.
</content>
</entry>
<entry>
<title>Fix pkill tests so that they run cleanly with prove.</title>
<updated>2014-03-09T22:14:20Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-09T22:14:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb3e85e1dcc4a10c291f1c90e862941450f901e2'/>
<id>urn:sha1:fb3e85e1dcc4a10c291f1c90e862941450f901e2</id>
<content type='text'>
This fixes a pgrep test that assumed that PID 2 was named g_event.  This
does not seem to be the case any longer (and I don't know if it ever was
in all possible setups).

Change this test to use the idle loop instead and determine its expected
PID using ps without assuming any specific ID.
</content>
</entry>
</feed>
