diff options
| author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-19 16:55:47 +0200 |
|---|---|---|
| committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-19 16:55:47 +0200 |
| commit | 2909dc3ec5fe877ffa25933ac936f4a26b9a2c2b (patch) | |
| tree | e037f6bba1f9d2c5a7a4d8478c2845f3e3c91313 /units/disk | |
| parent | 2b1956220674c34911ce718e065bba8370c7a4ef (diff) | |
units: Fix all jobs commands shellcheck errors
Diffstat (limited to 'units/disk')
| -rw-r--r-- | units/disk/jobs.pxu | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index 1df012f..8b4f943 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -108,7 +108,7 @@ command: if [ -n "$STRESS_NG_DISK_TIME" ] then echo "Found STRESS_NG_DISK_TIME env var, stress_ng disk running time is now: $STRESS_NG_DISK_TIME seconds" - stress_ng_test.py disk --device {name} --base-time $STRESS_NG_DISK_TIME + stress_ng_test.py disk --device {name} --base-time "$STRESS_NG_DISK_TIME" else echo "STRESS_NG_DISK_TIME env var is not found, stress_ng disk running time is default value" stress_ng_test.py disk --device {name} --base-time 240 @@ -129,18 +129,6 @@ _summary: Check of CPU load imposed by {product_slug} _description: Check to ensure CPU load of {product_slug} is not too high command: disk_cpu_load.sh {name} -plugin: shell -category_id: com.canonical.plainbox::disk -id: disk/spindown -estimated_duration: 875.0 -requires: - device.category == 'DISK' - package.name == 'smartmontools' -user: root -command: spindown.sh -_description: - Some new hard drives include a feature that parks the drive heads after a short period of inactivity. This is a power-saving feature, but it can have a bad interaction with the operating system that results in the drive constantly parked then activated. This produces excess wear on the drive, potentially leading to early failures. - plugin: user-interact category_id: com.canonical.plainbox::disk id: disk/hdd-parking |
