Skip to content
Lucas Meneghel Rodrigues edited this page Sep 22, 2011 · 8 revisions

Autotest Client Quick Start

Make sure you have python 2.4 or later installed. Autotest will execute several operations that require root, so do all this as root.

Also, it is a good idea to try things in a VM or test machine you don't care about, for safety.

Download the client:

cd /usr/local
svn checkout http://test.kernel.org/svn/autotest/trunk/client autotest
cd /usr/local/autotest

You might, if you prefer, to use the git svn mirror and clone the whole autotest tree, that includes all modules.

cd /usr/local
git clone git://github.com/autotest/autotest.git
cd /usr/local/autotest/client

Run some simple tests, such our sleeptest, which only sleeps for a given amount of seconds (our favorite autotest sanity testing):

bin/autotest --verbose tests/sleeptest/control

To run any individual test:

bin/autotest tests/<testname>/control

You might also check the control files inside the samples directory. The control file control.kbuild_and_tests will download a kernel, compile it, reboot the machine, so execute it on a VM or test machine:

bin/autotest --verbose samples/control.kbuild_and_tests
Clone this wiki locally