How to disable automatic command execution

Asked by Javier Collado on 2009-06-04


According to LP#187934 there is a way to decide when a command should be run automatically and when it shouldn't.

I'm working on a test case that follows exactly one of the examples in the bug description "turning on the power saving of the monitor" so this use case must be covered by the code already. However, I don't know what must be added to the test case description to disable automatic command execution.

Anyone can provide some help on this?

Best regards,

Question information

English Edit question
Checkbox Edit question
No assignee Edit question
Solved by:
Marc Tardif
Last query:
Last reply:
Best Marc Tardif (cr3) said : #1

The test definition for a manual test should contain:

  plugin: manual

And, the test definition for an automatic (shell) test should contain:

  plugin: shell

If the plugin is set to "manual", the command specified in the definition should not be run automatically.

Thanks, Marc, now it seems to me that the answer was pretty obvious.

Thanks Marc Tardif, that solved my question.