~brendan-donegan/checkbox/bug1184733

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): cgregan at canonical
  • Date: 2013-10-18 22:25:37 UTC
  • mfrom: (2460.2.3 checkbox_wireless)
  • Revision ID: tarmac-20131018222537-nrrndhtpg8yd0z2w
"automatic merge by tarmac [r=roadmr][bug=][author=cgregan]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 description:
49
49
  Testing for NIC $2
50
50
 EOF
 
51
 
 
52
plugin: local
 
53
name: ethernet/ethtool_info
 
54
requires:
 
55
 device.category == 'NETWORK'
 
56
command: 
 
57
 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"'
 
58
 plugin: shell
 
59
 name: ethernet/ethertool_check_$2
 
60
 requires: device.path == "$1"
 
61
 command: ethtool $2
 
62
 _description:
 
63
  This test executes ethtool requests against all the ethernet devices found on the system.
 
64
 EOF
 
65
_description:
 
66
 This is an automated test to gather some info on the current state of your network devices. If no devices are found, the test will exit with an error.