Skip to content
Lucas Meneghel Rodrigues edited this page Sep 22, 2011 · 3 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
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