File: regression.agents.exp

package info (click to toggle)
pacemaker 3.0.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,576 kB
  • sloc: xml: 160,564; ansic: 143,744; python: 5,670; sh: 2,969; makefile: 2,427
file content (33 lines) | stat: -rw-r--r-- 2,081 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=#=#=#= Begin test: Validate a valid resource configuration =#=#=#=
Operation validate (ocf:pacemaker:Dummy) returned 0 (OK)
=#=#=#= End test: Validate a valid resource configuration - OK (0) =#=#=#=
* Passed: crm_resource          - Validate a valid resource configuration
=#=#=#= Begin test: Validate a valid resource configuration (XML) =#=#=#=
<pacemaker-result api-version="X" request="crm_resource --output-as=xml --validate --class ocf --provider pacemaker --agent Dummy">
  <resource-agent-action action="validate" class="ocf" type="Dummy" provider="pacemaker">
    <overrides/>
    <agent-status code="0" message="OK" execution_code="0" execution_message="Done"/>
  </resource-agent-action>
  <status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: Validate a valid resource configuration (XML) - OK (0) =#=#=#=
* Passed: crm_resource          - Validate a valid resource configuration (XML)
=#=#=#= Begin test: Validate an invalid resource configuration =#=#=#=
crm_resource: Error performing operation: Not configured
Operation validate (ocf:pacemaker:Dummy) returned 6 (Not configured)
=#=#=#= End test: Validate an invalid resource configuration - Not configured (6) =#=#=#=
* Passed: crm_resource          - Validate an invalid resource configuration
=#=#=#= Begin test: Validate an invalid resource configuration (XML) =#=#=#=
<pacemaker-result api-version="X" request="crm_resource --output-as=xml --validate --class ocf --provider pacemaker --agent Dummy">
  <resource-agent-action action="validate" class="ocf" type="Dummy" provider="pacemaker">
    <overrides/>
    <agent-status code="6" message="Not configured" execution_code="0" execution_message="Done"/>
  </resource-agent-action>
  <status code="6" message="Not configured">
    <errors>
      <error>crm_resource: Error performing operation: Not configured</error>
    </errors>
  </status>
</pacemaker-result>
=#=#=#= End test: Validate an invalid resource configuration (XML) - Not configured (6) =#=#=#=
* Passed: crm_resource          - Validate an invalid resource configuration (XML)