~bladernr/checkbox/1095713-set-pipefail-on-sleep-jobs

« back to all changes in this revision

Viewing changes to jobs/network.txt.in~

  • Committer: Brendan Donegan
  • Date: 2011-06-27 10:22:03 UTC
  • mto: This revision was merged to the branch mainline in revision 935.
  • Revision ID: brendan.donegan@canonical.com-20110627102203-inu9sw7qp4ek2f7h
Added whitelists and remaining job files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
plugin: manual
2
 
name: network_test
3
 
requires: device.category == 'NETWORK'
4
 
command: network_test
5
 
_description:
6
 
 Detecting your network controller(s):
7
 
 .
8
 
 $output
9
 
 .
10
 
 Is this correct?
11
 
 
12
 
plugin: manual
13
 
name: internet_test
14
 
depends: network_test
15
 
command: internet_test
16
 
_description:
17
 
 Testing your connection to the Internet:
18
 
 .
19
 
 $output
20
 
 .
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.