~kelemeng/checkbox/bug868571

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugin: manual
name: miscellanea/chvt
requires:
 package.alias == 'linux'
 package.name == 'kbd'
user: root
command: cycle_vts
_description:
 Select Test to switch to another virtual terminal and then back to X.  Your screen will change temporarily to a text console and then switch back to your current session.
 .
 Note that this test may require you to enter your password.
 .
 Did the screen change temporarily to a text console?

plugin: shell
name: miscellanea/fwts_test
requires:
  package.name == 'linux'
  package.name == 'fwts'
_description:
 Run Colin King's Firmware Test Suite automated tests.
command:
 fwts_test -l $CHECKBOX_DATA/fwts_results.log

plugin: local
name: miscellanea/check_and_install_ipmitool
user: root
command: dpkg -l | grep -iq 'ipmitool' || apt-get install -y ipmitool >/dev/null 2>&1
_description: ipmitool is required for ipmi testing. This checks for ipmitool and installs it if not available.

plugin: shell
name: miscellanea/ipmi_test
depends: miscellanea/check_and_install_ipmitool
user: root
command: ipmi_test
_description:
 This will run some basic connectivity tests against a BMC, verifying that IPMI works.

plugin: manual
name: miscellanea/is_laptop
_description:
 Is your system a laptop (or netbook)?
 .
 Selecting Yes here will allow us to run tests specific to portable computers that may not apply to desktops.