diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2015-01-20 00:23:47 +0100 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2015-01-20 00:23:47 +0100 |
commit | 8aa74e32e3e8c139720a96590b92dafffb3d591a (patch) | |
tree | f2ecdf95203dee3e0fb2ee8bcb711d43a7001eba | |
parent | 8d7996b35ed74bbd65a36ceba51ef87c2b3d5121 (diff) |
providers:checkbox:suspend.txt.in: Fix wrong iperf test name
The job created from the local job suspend/iperf_after_suspend_wifi_auto was suspend/iperf_before_suspend_wifi_auto_$2 which conflicted with the original one normally created by suspend/iperf_before_suspend_wifi_auto. The right job id is suspend/iperf_after_suspend_wifi_auto_$2 Fixes: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1410501
-rw-r--r-- | jobs/suspend.txt.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in index f58a9da..55fe957 100644 --- a/jobs/suspend.txt.in +++ b/jobs/suspend.txt.in @@ -798,14 +798,14 @@ requires: command: cat <<'EOF' | run_templates -s 'udev_resource | filter_templates -w "category=WIRELESS" | awk "/path: / { print \$2 }" | xargs -n 1 sh -c "for i in \`ls /sys\$0/net 2>/dev/null\`; do echo \$0 \$i; done"' plugin: shell - id: suspend/iperf_before_suspend_wifi_auto_$2 + id: suspend/iperf_after_suspend_wifi_auto_$2 depends: suspend/suspend_advanced requires: device.path == "$1" user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: network test -i $2 -t iperf _description: - This test executes iperf connection performance/stability against all the ethernet devices found on the system before suspend. + This test executes iperf connection performance/stability against all the ethernet devices found on the system after suspend. EOF _description: 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. |