<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/testing/ktest/sample.conf, branch v4.20</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.20</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.20'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2018-04-08T00:21:06Z</updated>
<entry>
<title>ktest.pl: Add MAIL_COMMAND option to define how to send email</title>
<updated>2018-04-08T00:21:06Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2018-04-08T00:11:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2d84ddb338c829e3ee9d1af6a55325998fcdb82'/>
<id>urn:sha1:c2d84ddb338c829e3ee9d1af6a55325998fcdb82</id>
<content type='text'>
Allow the user to override the default way to send email. This will allow
the user to add their own mailer and format for sending email.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest.pl: Add MAIL_PATH option to define where to find the mailer</title>
<updated>2018-04-08T00:16:08Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2018-04-06T20:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=be1546b87f3b60f107b8f8dfef0e268cc12792f1'/>
<id>urn:sha1:be1546b87f3b60f107b8f8dfef0e268cc12792f1</id>
<content type='text'>
The option MAIL_PATH lets the user decide how to find the mailer they are
using. For example, sendmail is usually located in /usr/sbin but is not
always in the path of non admin users. Have ktest look through the user's
PATH environment variable (adding /usr/sbin) as well, but if that's not good
enough, allow the user to define where to find the mailer.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

squash to mail exec

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>Ktest: add email options to sample.config</title>
<updated>2018-04-06T18:30:18Z</updated>
<author>
<name>Tim Tianyang Chen</name>
<email>tianyang.chen@oracle.com</email>
</author>
<published>2018-03-26T20:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eaaa1e283ada2e8808f9074829c27857adb35bdb'/>
<id>urn:sha1:eaaa1e283ada2e8808f9074829c27857adb35bdb</id>
<content type='text'>
A block of email options is added under the optional config section.

Link: http://lkml.kernel.org/r/1522094884-22718-5-git-send-email-tianyang.chen@oracle.com

Suggested-by: Dhaval Giani &lt;dhaval.giani@oracle.com&gt;
Signed-off-by: Tim Tianyang Chen &lt;tianyang.chen@oracle.com&gt;
Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest.pl: Make finding config-bisect.pl dynamic</title>
<updated>2018-04-06T18:08:11Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2018-04-05T16:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40667fb5fda0483e5c617d133968b17f6854cb9b'/>
<id>urn:sha1:40667fb5fda0483e5c617d133968b17f6854cb9b</id>
<content type='text'>
Just looking for config-bisect.pl in the source tree can be risky,
especially, if the source tree being tested doesn't have config-bisect.pl in
place. Instead, allow the user to set where to find config-bisect.pl with a
new option CONFIG_BISECT_EXEC.

If this option is not set, by default, ktest.pl will look for
config-bisect.pl in the following locations:

 `pwd`/config-bisect.pl # where ktest.pl was called from
 `dirname /path/to/ktest.pl`/config-bisect.pl # where ktest.pl exists
 ${BUILD_DIR}/tools/testing/ktest/config-bisect.pl
   # where config-bisect.pl exists in the source tree.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Comment about other names than just ktest.conf</title>
<updated>2018-03-21T16:08:02Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2018-03-21T16:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6dd3791dcf3051f47898a59553aaf21cd2cf8d1d'/>
<id>urn:sha1:6dd3791dcf3051f47898a59553aaf21cd2cf8d1d</id>
<content type='text'>
ktest.pl will read any file as long as its name is specified as the first
argument on the command line. Comment this fact in sample.conf.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Clarify config file usage</title>
<updated>2018-03-21T16:06:25Z</updated>
<author>
<name>Scott Wood</name>
<email>swood@redhat.com</email>
</author>
<published>2017-07-17T00:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=edbd0ede0078bde5eb539e175cd7e0e89cd82df0'/>
<id>urn:sha1:edbd0ede0078bde5eb539e175cd7e0e89cd82df0</id>
<content type='text'>
Simply telling a new user to edit "the config file" without giving any
hints on where that file should go, what it should be named, or where
a template can be found, is not particularly helpful.

Link: http://lkml.kernel.org/r/20170717001630.10518-1-swood@redhat.com

Signed-off-by: Scott Wood &lt;swood@redhat.com&gt;
Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Add CONNECT_TIMEOUT to change the connection timeout time</title>
<updated>2018-03-21T14:36:08Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2018-03-21T14:36:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3e1d3678844b2b1f4c41818bc9a2885cbf5ccef6'/>
<id>urn:sha1:3e1d3678844b2b1f4c41818bc9a2885cbf5ccef6</id>
<content type='text'>
Before ktest issues a reboot, it will try to connect to the target machine
to make sure that it is still alive. If the target does not respond within 5
seconds, it will power cycle the box instead of issuing a reboot.

Five seconds may be too short, and ktest may unnecessarially power cycle the
box. I have found 25 seconds seems to be a better timeout for this purpose.
But even 25 may be too arbitrary. Add a CONNECT_TIMEOUT option to let the
user determine the timeout time before rebooting. By default, it has been
raised to 25 seconds.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Add PATCHCHECK_CHERRY</title>
<updated>2014-09-20T00:10:39Z</updated>
<author>
<name>Steven Rostedt (Red Hat)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2014-09-20T00:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=23a0e1611b880bd8d94bbebcb3577c9f78029435'/>
<id>urn:sha1:23a0e1611b880bd8d94bbebcb3577c9f78029435</id>
<content type='text'>
Add a way to run a patchcheck test on the commits that are in one branch
but not in another. This uses git cherry to find a list of commits to
test each one with.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Update documentation on config_bisect</title>
<updated>2014-04-24T03:18:29Z</updated>
<author>
<name>Steven Rostedt (Red Hat)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2014-04-24T02:30:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c16b1d6d5e0ca0612de65596a3d1ead8a3372fb'/>
<id>urn:sha1:4c16b1d6d5e0ca0612de65596a3d1ead8a3372fb</id>
<content type='text'>
With the more robust config_bisect, the documentation is out of
date and needs to be updated.

The new rewrite allows for finding missing configs and such, and
is much more robust to use.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>ktest: Add BISECT_TRIES to bisect test</title>
<updated>2014-01-19T00:52:13Z</updated>
<author>
<name>Steven Rostedt (Red Hat)</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2014-01-19T00:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=961d9caceea2d5350a15c17b7d3ffc24c08c9b09'/>
<id>urn:sha1:961d9caceea2d5350a15c17b7d3ffc24c08c9b09</id>
<content type='text'>
For those cases that it takes several tries to hit a bug, it would be
useful for ktest.pl to try a test multiple times before it considers
the test as a pass. To accomplish this, BISECT_TRIES ktest config
option has been added. It is default to one, as most of the time a
bisect only needs to try a test once. But the user can now up this
to make ktest run a given test multiple times. The first failure
that is detected will set a bisect bad. It only repeats on success.

Note, as with all race bugs, there's no guarantee that if it succeeds,
it is really a good bisect. But it helps in case the bug is somewhat
reliable.

You can set BISECT_TRIES to zero, and all tests will be considered
good, unless you also set BISECT_MANUAL.

Suggested-by: "Paul E. McKenney" &lt;paulmck@linux.vnet.ibm.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
</feed>
