This file is indexed.

/usr/lib/plainbox-providers-1/checkbox/jobs/networking.txt is in plainbox-provider-checkbox 0.3-2.

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
name: 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
name: 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
 name: 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
name: 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
name: 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
name: 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
name: 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
name: 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
name: 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.