Test: cts-cli: Add more tests for the crm_simulate command.
Note that the --show-scores test uses XML output, but no other test
does. There's not any reason behind using XML in this particular test.
I just wanted one to use it to make sure that XML output continues to
work somewhere in crm_simulate.
Some command line options are still not being tested:
- --profile/--repeat - It's expected that these will be tested manually as part of the release process.
- --save-* - It's expected these will be tested manually as part of running cts/cts-scheduler, which we periodically run for testing changes.
- --ticket-* - These options don't do a whole lot under crm_simulate.
- --quorum/--watchdog/--set-datetime - These don't really have any user-facing changes under crm_simulate. --set-datetime at least causes a single line to be printed for text output, so that could be tested but it doesn't seem worth it.
- --op-fail - This option looks pretty complicated to work into cts-cli. It needs to be passed to a run of crm_simulate with the results written out, and then crm_simulate run again on the results.
- --show-failcounts - At the moment, we have no resource fail counts in any cts/cli/*xml files, so there's nothing to show. This could be added in the future, however.