<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/util-linux.git/tests/ts/kill/print_pid, branch master</title>
<subtitle>git.kernel.org: pub/scm/utils/util-linux/util-linux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/'/>
<entry>
<title>tests: don't hardcode /bin/kill in the kill tests</title>
<updated>2021-06-29T16:21:53+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2021-06-29T15:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=93ed220b134cbd38be820c7e502a32d8a2cffcbb'/>
<id>93ed220b134cbd38be820c7e502a32d8a2cffcbb</id>
<content type='text'>
If the 'kill' test is executed with --use-system-commands, it calls
/bin/kill to avoid the shell's own kill command being invoked.

However, this doesn't work if the kill we want to test isn't in fact in
/bin.  Instead, use $(which kill) to find a kill on the PATH and call
that directly.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the 'kill' test is executed with --use-system-commands, it calls
/bin/kill to avoid the shell's own kill command being invoked.

However, this doesn't work if the kill we want to test isn't in fact in
/bin.  Instead, use $(which kill) to find a kill on the PATH and call
that directly.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: split stdout and stderr</title>
<updated>2019-08-30T13:50:07+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2019-08-30T13:50:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=cbf858aa085e25aa5afd1d06decaea6e14a8963f'/>
<id>cbf858aa085e25aa5afd1d06decaea6e14a8963f</id>
<content type='text'>
* add $TS_ERRLOG for script stderr output
* add optional $TS_EXPECTED_ERR which points to expected/*/*.err

This change allows to keep track about stderr output from our commands
(already found bug in sfdisk...).

We do not have to depend on fragile stdout vs. stderr order (due to
different buffering semantic in different libc, etc.).

Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add $TS_ERRLOG for script stderr output
* add optional $TS_EXPECTED_ERR which points to expected/*/*.err

This change allows to keep track about stderr output from our commands
(already found bug in sfdisk...).

We do not have to depend on fragile stdout vs. stderr order (due to
different buffering semantic in different libc, etc.).

Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: (kill) do not use shell build-in</title>
<updated>2019-03-04T16:28:15+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2019-03-04T16:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=2fadcded53add5b5b0ca7071f310a0f37c711c51'/>
<id>2fadcded53add5b5b0ca7071f310a0f37c711c51</id>
<content type='text'>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: always kill helper</title>
<updated>2015-06-16T14:22:49+00:00</updated>
<author>
<name>Ruediger Meier</name>
<email>ruediger.meier@ga-group.nl</email>
</author>
<published>2015-05-08T22:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=1e2b75611d7a5ca78a576ff06016f85ad8b14c85'/>
<id>1e2b75611d7a5ca78a576ff06016f85ad8b14c85</id>
<content type='text'>
Signed-off-by: Ruediger Meier &lt;ruediger.meier@ga-group.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ruediger Meier &lt;ruediger.meier@ga-group.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix kill problems</title>
<updated>2014-05-06T17:29:13+00:00</updated>
<author>
<name>Ruediger Meier</name>
<email>ruediger.meier@ga-group.nl</email>
</author>
<published>2014-05-06T17:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=48f9e0b258a3f20a82f2b976885b5ee22b8e7460'/>
<id>48f9e0b258a3f20a82f2b976885b5ee22b8e7460</id>
<content type='text'>
There were several failures (missing tmp files, missing pids) on travis
build farm which I couldn't track down completely. Here we fix some
possible issues:
 - mktemp -u is unsafe, maybe even in practice if there is a bad random
   generator
 - make sure that mktemp does not give us pure integer filnames which
   would not work for "kill by-name"
 - avoid using trap, could be that it removed tmp files on wrong signals

Signed-off-by: Ruediger Meier &lt;ruediger.meier@ga-group.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were several failures (missing tmp files, missing pids) on travis
build farm which I couldn't track down completely. Here we fix some
possible issues:
 - mktemp -u is unsafe, maybe even in practice if there is a bad random
   generator
 - make sure that mktemp does not give us pure integer filnames which
   would not work for "kill by-name"
 - avoid using trap, could be that it removed tmp files on wrong signals

Signed-off-by: Ruediger Meier &lt;ruediger.meier@ga-group.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add kill_functions.sh to avoid duplicate code</title>
<updated>2014-04-28T10:01:37+00:00</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2014-04-28T10:01:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=7a1c980c68db5a6f85478c5a0ca21d25c67287e9'/>
<id>7a1c980c68db5a6f85478c5a0ca21d25c67287e9</id>
<content type='text'>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: check kill print pid option</title>
<updated>2014-04-26T18:04:57+00:00</updated>
<author>
<name>Sami Kerola</name>
<email>kerolasa@iki.fi</email>
</author>
<published>2014-04-11T23:33:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/util-linux.git/commit/?id=2d8aa0b7045b78133d0b86676b4107d6da123609'/>
<id>2d8aa0b7045b78133d0b86676b4107d6da123609</id>
<content type='text'>
CC: Bernhard Voelker &lt;mail@bernhard-voelker.de&gt;
Signed-off-by: Sami Kerola &lt;kerolasa@iki.fi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CC: Bernhard Voelker &lt;mail@bernhard-voelker.de&gt;
Signed-off-by: Sami Kerola &lt;kerolasa@iki.fi&gt;
</pre>
</div>
</content>
</entry>
</feed>
