~cgregan/checkbox/times-update-local

« back to all changes in this revision

Viewing changes to checkbox-old/jobs/networking.txt.in

  • Committer: cgregan at canonical
  • Date: 2014-03-19 19:12:44 UTC
  • Revision ID: cgregan@canonical.com-20140319191244-qnuhy8b6wquhvw9z
Updated local test times

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
plugin: local
9
9
name: networking/info
10
10
requires: device.category == 'NETWORK'
 
11
estimated_duration: 10.0
11
12
_description: Network Information
12
13
command:
13
14
 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"'
15
16
 name: networking/info_$2
16
17
 requires: device.path == "$1"
17
18
 command: network_info $2 | zenity --text-info --title="$2"
 
19
 estimated_duration: 120.0
18
20
 _description:
19
21
  PURPOSE:
20
22
      This test will check the $2 network interface
43
45
 
44
46
plugin: shell
45
47
name: networking/ping
 
48
estimated_duration: 10.0
46
49
command: gateway_ping_test $CHECKBOX_SERVER
47
50
_description:
48
51
 Automated test case to verify availability of some system on the network using ICMP ECHO packets.
49
52
 
50
53
plugin: shell
51
54
name: networking/http
 
55
estimated_duration: 10.0
52
56
command: wget -SO /dev/null http://$TRANSFER_SERVER
53
57
_description:
54
58
 Automated test case to make sure that it's possible to download files through HTTP
55
59
 
56
60
plugin: shell
57
61
name: networking/ntp
 
62
estimated_duration: 10.0
58
63
requires: package.name == 'ntpdate'
59
64
user: root
60
65
command: network_ntp_test
62
67
 
63
68
plugin: shell
64
69
name: networking/ssh
 
70
estimated_duration: 10.0
65
71
requires: package.name == 'openssh-client'
66
72
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
67
73
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.