diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-02-07 11:47:00 +0100 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-02-07 11:47:00 +0100 |
commit | eedb5c04a5e4441cd79172d3dbf3db51e0108a64 (patch) | |
tree | 02ad01bcde163fd9b72fe2bb310bd3bcee0e829f /units/stress | |
parent | b72a61d4cb498e383211d30308fdb816979405de (diff) |
Allow jobs requiring fwts to run from a checkbox snap
Diffstat (limited to 'units/stress')
-rw-r--r-- | units/stress/jobs.pxu | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu index 2a2a7d0..b5bb254 100644 --- a/units/stress/jobs.pxu +++ b/units/stress/jobs.pxu @@ -222,8 +222,7 @@ plugin: shell category_id: com.canonical.plainbox::stress id: stress/reboot estimated_duration: 4500.0 -requires: - package.name == 'fwts' +requires: executable.name == 'fwts' command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn autorestart user: root @@ -243,8 +242,7 @@ command: plugin: shell category_id: com.canonical.plainbox::stress id: stress/reboot_30 -requires: - package.name == 'fwts' +requires: executable.name == 'fwts' executable.name == 'x-terminal-emulator' command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn autorestart @@ -267,7 +265,7 @@ category_id: com.canonical.plainbox::stress id: stress/poweroff estimated_duration: 4500.0 requires: - package.name == 'fwts' + executable.name == 'fwts' executable.name == 'x-terminal-emulator' command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --r 100 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn autorestart @@ -289,7 +287,7 @@ plugin: shell category_id: com.canonical.plainbox::stress id: stress/poweroff_30 requires: - package.name == 'fwts' + executable.name == 'fwts' executable.name == 'x-terminal-emulator' command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --r 30 --silent --log-level=notset poweroff --log-dir=$PLAINBOX_SESSION_SHARE flags: noreturn autorestart |