| Index: client/samples/control.rpm_kernel
 | 
| diff --git a/client/samples/control.rpm_kernel b/client/samples/control.rpm_kernel
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..d3dc8b35db7023e8b2c64b7935e1ff2b940412d0
 | 
| --- /dev/null
 | 
| +++ b/client/samples/control.rpm_kernel
 | 
| @@ -0,0 +1,22 @@
 | 
| +AUTHOR = "Autotest Team <autotest@test.kernel.org>"
 | 
| +TIME = "SHORT"
 | 
| +NAME = "Sample - More profilers"
 | 
| +TEST_TYPE = "client"
 | 
| +TEST_CLASS = "Kernel"
 | 
| +TEST_CATEGORY = "Functional"
 | 
| +
 | 
| +DOC = """
 | 
| +Runs sleeptest after installing a kernel rpm. Please note that syntax works
 | 
| +only if you have an autotest package repository properly setup.
 | 
| +"""
 | 
| +
 | 
| +def step_init():
 | 
| +    job.next_step([step_test])
 | 
| +    # The below won't work unless you have configured an autotest package
 | 
| +    # repository.
 | 
| +    testkernel = job.kernel('kernel-smp-2.6.18-210.4.x86_64.rpm')
 | 
| +    testkernel.install()
 | 
| +    testkernel.boot() # does autotest by default
 | 
| +
 | 
| +def step_test():
 | 
| +    job.run_test('sleeptest')
 | 
| 
 |