~ubuntu-branches/ubuntu/trusty/plainbox-provider-checkbox/trusty

« back to all changes in this revision

Viewing changes to provider_jobs/floppy.txt.in

  • Committer: Package Import Robot
  • Author(s): Sylvain Pineau
  • Date: 2014-01-22 00:58:42 UTC
  • Revision ID: package-import@ubuntu.com-20140122005842-20pcic4y0ys439ry
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plugin: local
 
2
name: floppy/check
 
3
requires: device.driver == 'floppy'
 
4
_description: Floppy test
 
5
command:
 
6
 cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "driver=floppy"'
 
7
 plugin: shell
 
8
 name: floppy/check_`ls /sys$path/driver/*/*/*/block`
 
9
 requires: device.path == "$path"
 
10
 description: Floppy test for $product
 
11
 user: root
 
12
 command: floppy_test /dev/`ls /sys$path/driver/*/*/*/block`
 
13
 EOF