~roadmr/ubuntu/oneiric/checkbox/fix-662322-in-0.12.9

« back to all changes in this revision

Viewing changes to jobs/network.txt.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Manrique, Marc Tardif, Chad A. Davis, Barry Warsaw
  • Date: 2011-07-01 11:37:27 UTC
  • Revision ID: james.westby@ubuntu.com-20110701113727-k4pekmtyr7v2i6le
Tags: 0.12.3
[ Marc Tardif ]
* Only reading CHECKBOX_* environment variables in config (LP: #802458)
* Imported scripts and jobs from Platform Services.

[Chad A. Davis]
* Switch to dh_python2 and debhelper7 (LP: #788514)

[Barry Warsaw]
* Fix checkbox_clean.run() to ignore missing executables, as is the case
  in a fresh checkout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 $output
20
20
 .
21
21
 Is this correct?
 
22
 
 
23
plugin: local
 
24
name: network_info
 
25
requires: device.category == 'NETWORK'
 
26
_description: Network Information
 
27
command:
 
28
 cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
 
29
 plugin: manual
 
30
 name: network_info_$2
 
31
 requires: device.path == "$1" and package.name == 'linux'
 
32
 command: network_info $2
 
33
 _description:
 
34
  Please verify the following information for NIC $2?
 
35
  .
 
36
  \$output
 
37
  .
 
38
  Is this correct?
 
39
 EOF
 
40
 
 
41
plugin: shell
 
42
name: network_wireless_test
 
43
user: root
 
44
requires: package.name == 'wireless-tools'
 
45
command: network_wireless_test
 
46
_description: Wireless scanning test.
 
47
 
 
48
plugin: manual
 
49
name: network-wireless
 
50
command: network_check
 
51
requires: device.category == 'NETWORK'
 
52
_description:
 
53
 Wireless network connection procedure:
 
54
 1.- Click on the Network Manager applet
 
55
 2.- Select a network below the 'Wireless networks' section
 
56
 3.- Notify OSD should confirm that the connection has been established
 
57
 4.- Select Test to verify that it's possible to establish an HTTP connection
 
58
 .
 
59
 Was the connection correctly established?
 
60
 
 
61
plugin: manual
 
62
name: network-wired
 
63
command: network_check
 
64
_description:
 
65
 Wired network connection procedure:
 
66
 1.- Click on the Network Manager applet
 
67
 2.- Select a network below the 'Wired network' section
 
68
 3.- Notify OSD should confirm that the connection has been established
 
69
 4.- Select Test to verify that it's possible to establish an HTTP connection
 
70
 .
 
71
 Was the connection correctly established?
 
72
 
 
73
plugin: manual
 
74
name: network-modem
 
75
command: network_check
 
76
_description:
 
77
 Built-in modem network connection procedure:
 
78
 1.- Connect the telephone line to the computer
 
79
 2.- Right click on the Network Manager applet
 
80
 3.- Select 'Edit Connections'
 
81
 4.- Select the 'DSL' tab
 
82
 5.- Click on add 'Add' button
 
83
 6.- Configure the connection parameters properly
 
84
 7.- Notify OSD should confirm that the connection has been established
 
85
 8.- Select Test to verify that it's possible to establish an HTTP connection
 
86
 .
 
87
 Was the connection correctly established?
 
88
 
 
89
plugin: shell
 
90
name: ping_test
 
91
command: internet_test $CHECKBOX_SERVER
 
92
_description:
 
93
 Automated test case to verify availability of some system on the network
 
94
 using ICMP ECHO packets.
 
95
 
 
96
plugin: shell
 
97
name: network-http
 
98
command: wget -SO /dev/null http://$TRANSFER_SERVER
 
99
_description:
 
100
 Automated test case to make sure that it's possible to download files through HTTP
 
101
 
 
102
plugin: shell
 
103
name: network_ntp_test
 
104
requires: package.name == 'ntpdate'
 
105
user: root
 
106
command: network_ntp_test 
 
107
_description: Test to see if we can sync local clock to an NTP server
 
108
 
 
109
plugin: shell
 
110
name: network_ssh
 
111
requires: package.name == 'openssh-client'
 
112
command: if [ $CHECKBOX_SERVER ]; then ssh -q -o 'StrictHostKeyChecking=no' -o "UserKnownHostsFile=/tmp/ssh_test_$$" -l ubuntu $CHECKBOX_SERVER "uname -a" && rm /tmp/ssh_test_$$; fi
 
113
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.
 
114
 
 
115
plugin: shell
 
116
name: network_printer
 
117
requires: package.name == 'cups-client'
 
118
command: network_printer_test -s $CHECKBOX_SERVER
 
119
_description: Try to enable a remote printer on the network and print a test page.
 
120
 
 
121
plugin: local
 
122
name: network_multi
 
123
requires: device.category == 'NETWORK'
 
124
_description: Multiple network cards
 
125
command:
 
126
 cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=NETWORK" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"'
 
127
 plugin: shell
 
128
 name: network_multi_nic_$2
 
129
 requires: device.path == "$1" and package.name == 'linux'
 
130
 user: root
 
131
 command: dhclient $2; internet_test --interface=$2 --deadline=15
 
132
 description:
 
133
  Testing for NIC $2
 
134
 EOF