/usr/share/2013.com.canonical.certification:checkbox/jobs/networking.txt.in is in plainbox-provider-checkbox 0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | plugin: shell
id: networking/gateway_ping
depends: ethernet/detect
command: gateway_ping_test
estimated_duration: 2.000
_description: Tests whether the system has a working Internet connection.
plugin: local
id: networking/info
requires: device.category == 'NETWORK'
_description: Network Information
command:
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"'
plugin: user-interact-verify
id: networking/info_$2
requires: device.path == "$1"
command: network_info $2 | zenity --text-info --title="$2"
_description:
PURPOSE:
This test will check the $2 network interface
STEPS:
1. Click "Test" to verify the information for $2
VERIFICATION:
Is this correct?
EOF
plugin: user-interact-verify
id: networking/modem_connection
command: network_check
_description:
PURPOSE:
This test will check that a DSL modem can be configured and connected.
STEPS:
1. Connect the telephone line to the computer
2. Click on the Network icon on the top panel.
3. Select "Edit Connections"
4. Select the "DSL" tab
5. Click on "Add" button
6. Configure the connection parameters properly
7. Click "Test" to verify that it's possible to establish an HTTP connection
VERIFICATION:
Did a notification show and was the connection correctly established?
plugin: shell
id: networking/ping
command: gateway_ping_test $CHECKBOX_SERVER
_description:
Automated test case to verify availability of some system on the network using ICMP ECHO packets.
plugin: shell
id: networking/http
command: wget -SO /dev/null http://$TRANSFER_SERVER
_description:
Automated test case to make sure that it's possible to download files through HTTP
plugin: shell
id: networking/ntp
requires: package.name == 'ntpdate'
user: root
command: network_ntp_test
_description: Test to see if we can sync local clock to an NTP server
plugin: shell
id: networking/ssh
requires: package.name == 'openssh-client'
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
_description: Verify that an installation of checkbox-server on the network can be reached over SSH.
plugin: shell
id: networking/printer
requires: package.name == 'cups-client'
command: network_printer_test -s $CHECKBOX_SERVER
_description: Try to enable a remote printer on the network and print a test page.
|