/usr/share/2013.com.canonical.certification:checkbox/jobs/floppy.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 | plugin: local
id: floppy/check
requires: device.driver == 'floppy'
_description: Floppy test
command:
cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "driver=floppy"'
plugin: shell
id: floppy/check_`ls /sys$path/driver/*/*/*/block`
requires: device.path == "$path"
description: Floppy test for $product
user: root
command: floppy_test /dev/`ls /sys$path/driver/*/*/*/block`
EOF
|