diff --git a/shell/regression/empty.xml b/shell/regression/empty.xml index 1ab73347d0..b9944a1115 100644 --- a/shell/regression/empty.xml +++ b/shell/regression/empty.xml @@ -1,11 +1,11 @@ - + diff --git a/shell/regression/testcases/confbasic-xml.exp b/shell/regression/testcases/confbasic-xml.exp index 764e97e8ae..299f951983 100644 --- a/shell/regression/testcases/confbasic-xml.exp +++ b/shell/regression/testcases/confbasic-xml.exp @@ -1,133 +1,134 @@ - + + diff --git a/shell/regression/testcases/node.exp b/shell/regression/testcases/node.exp index b3b1165b2b..5bf360b2b6 100644 --- a/shell/regression/testcases/node.exp +++ b/shell/regression/testcases/node.exp @@ -1,195 +1,203 @@ .TRY node show node1: normal .TRY node show node1 node1: normal .SETENV showobj=node1 .TRY node standby node1 .EXT crm_attribute -N 'node1' -n standby -v 'on' --lifetime='forever' .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node online node1 .EXT crm_attribute -N 'node1' -n standby -v 'off' --lifetime='forever' .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node attribute node1 set a1 "1 2 3" .EXT crm_attribute -t nodes -U 'node1' -n 'a1' -v '1 2 3' .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node attribute node1 show a1 .EXT crm_attribute -G -t nodes -U 'node1' -n 'a1' scope=nodes name=a1 value=1 2 3 .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node attribute node1 delete a1 .EXT crm_attribute -D -t nodes -U 'node1' -n 'a1' Deleted nodes attribute: id=nodes-node1-a1 name=a1 .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node status-attr node1 set s1 "1 2 3" .EXT crm_attribute -t status -U 'node1' -n 's1' -v '1 2 3' .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node status-attr node1 show s1 .EXT crm_attribute -G -t status -U 'node1' -n 's1' scope=status name=s1 value=(null) .INP: configure .INP: _regtest on .INP: show xml node1 - + + .TRY node status-attr node1 delete s1 .EXT crm_attribute -D -t status -U 'node1' -n 's1' .INP: configure .INP: _regtest on .INP: show xml node1 - + + diff --git a/shell/regression/testcases/resource.exp b/shell/regression/testcases/resource.exp index d510a6cf70..89a282c762 100644 --- a/shell/regression/testcases/resource.exp +++ b/shell/regression/testcases/resource.exp @@ -1,388 +1,406 @@ .TRY resource status p0 .EXT crm_resource -W -r 'p0' resource p0 is NOT running .SETENV showobj=p3 .TRY resource start p3 .INP: configure .INP: _regtest on .INP: show xml p3 - + + .TRY resource stop p3 .INP: configure .INP: _regtest on .INP: show xml p3 - + + .SETENV showobj=c1 .TRY resource manage c1 .INP: configure .INP: _regtest on .INP: show xml c1 - + + .TRY resource unmanage c1 .INP: configure .INP: _regtest on .INP: show xml c1 - + + .SETENV showobj=cli-prefer-p3 .TRY resource migrate p3 .EXT crm_resource -M -r 'p3' Resource p3 not moved: not-active and no preferred location specified. Error performing operation: cib object missing .INP: configure .INP: _regtest on .INP: show xml cli-prefer-p3 - + + .TRY resource migrate p3 node1 .EXT crm_resource -M -r 'p3' --node='node1' .INP: configure .INP: _regtest on .INP: show xml cli-prefer-p3 - + + .TRY resource unmigrate p3 .EXT crm_resource -U -r 'p3' .INP: configure .INP: _regtest on .INP: show xml cli-prefer-p3 - + + .SETENV showobj=p0 .TRY resource param p0 set a0 "1 2 3" .EXT crm_resource -r 'p0' -p 'a0' -v '1 2 3' .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource param p0 show a0 .EXT crm_resource -r 'p0' -g 'a0' 1 2 3 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource param p0 delete a0 .EXT crm_resource -r 'p0' -d 'a0' Deleted p0 option: id=p0-instance_attributes-a0 name=a0 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource meta p0 set m0 123 .EXT crm_resource --meta -r 'p0' -p 'm0' -v '123' .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource meta p0 show m0 .EXT crm_resource --meta -r 'p0' -g 'm0' 123 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource meta p0 delete m0 .EXT crm_resource --meta -r 'p0' -d 'm0' Deleted p0 option: id=p0-meta_attributes-m0 name=m0 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource failcount p0 set node1 5 .EXT crm_attribute -t status -n 'fail-count-p0' -N 'node1' -v '5' -d 0 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource failcount p0 show node1 .EXT crm_attribute -t status -n 'fail-count-p0' -N 'node1' -G -d 0 scope=status name=fail-count-p0 value=0 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource failcount p0 delete node1 .EXT crm_attribute -t status -n 'fail-count-p0' -N 'node1' -D -d 0 .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource cleanup p0 node1 .EXT crm_resource -C -r 'p0' -H 'node1' Error performing operation: connection failed .INP: configure .INP: _regtest on .INP: show xml p0 - + + .TRY resource cleanup p0 .EXT crm_resource -C -r 'p0' Error performing operation: connection failed .INP: configure .INP: _regtest on .INP: show xml p0 - + +