forked from autotest/autotest
-
Notifications
You must be signed in to change notification settings - Fork 0
ClientQuickStart
cevich edited this page Oct 3, 2012
·
8 revisions
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 --recursive 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). From the autotest directory (i.e. /usr/local/autotest/client):
./autotest-local --verbose run sleeptest
To run any individual test:
./autotest-local run <testname>
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:
./autotest-local --verbose samples/control.kbuild_and_tests