diff options
author | Daniel Manrique <roadmr@ubuntu.com> | 2014-07-28 11:18:35 -0400 |
---|---|---|
committer | Daniel Manrique <roadmr@ubuntu.com> | 2014-07-28 11:18:35 -0400 |
commit | c8bb947fa16b977e6251e81b4427473bf37fbe8c (patch) | |
tree | e6e9eeddbfc29374b274bc467f3c90ce5580f928 /jobs | |
parent | 8a3bc10fe1e57a277054840951253b6bf68d2150 (diff) |
providers:checkbox: Fixes for disk test definitions.
Removal of trailing whitespace.
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/disk.txt.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 6f8d28a..19dd840 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -13,7 +13,7 @@ command: cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"' plugin: shell id: disk/stats_`ls /sys$path/block` - requires: + requires: device.path == "$path" block_device.`ls /sys$path/block`_state != 'removable' user: root @@ -33,7 +33,7 @@ command: cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "category=DISK"' plugin: shell id: disk/smart_`ls /sys$path/block` - requires: + requires: device.path == "$path" block_device.`ls /sys$path/block`_state != 'removable' description: @@ -85,7 +85,7 @@ command: plugin: shell id: disk/spindown estimated_duration: 875.0 -requires: +requires: device.category == 'DISK' package.name == 'smartmontools' user: root |