diff options
Diffstat (limited to 'test/testcases/resource')
-rw-r--r-- | test/testcases/resource | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/test/testcases/resource b/test/testcases/resource new file mode 100644 index 0000000..8fad9b6 --- /dev/null +++ b/test/testcases/resource @@ -0,0 +1,84 @@ +resource status p0 +%setenv showobj=p3 +resource start p3 +resource stop p3 +%setenv showobj=c1 +resource manage c1 +resource unmanage c1 +%setenv showobj=p2 +resource maintenance p2 on +resource maintenance p2 off +%setenv showobj=cli-prefer-p3 +resource migrate p3 node1 +%setenv showobj= +resource unmigrate p3 +%setenv showobj=cli-prefer-p3 +resource migrate p3 node1 force +%setenv showobj= +resource unmigrate p3 +%setenv showobj=p0 +resource param p0 set a0 "1 2 3" +resource param p0 show a0 +resource param p0 delete a0 +resource meta p0 set m0 123 +resource meta p0 show m0 +resource meta p0 delete m0 +resource trace p0 probe +resource trace p0 start +resource trace p0 stop +resource untrace p0 probe +resource untrace p0 start +resource untrace p0 stop +configure group g p0 p3 +options manage-children never +resource start g +resource start p0 +resource stop g +configure clone cg g +options manage-children always +resource start g +resource stop g +resource start cg +resource stop p0 +resource start cg +resource stop cg +resource stop p3 +%setenv showobj= +configure rename p3 p4 +configure primitive p3 Dummy +resource stop p3 +resource start p3 +resource cleanup +resource cleanup p3 +resource cleanup p3 node1 +resource cleanup force +resource cleanup p3 force +resource cleanup p3 node1 force +resource refresh +resource refresh p3 +resource refresh p3 node1 +resource refresh force +resource refresh p3 force +resource refresh p3 node1 force +resource stop p3 +configure rm cg +configure ms msg g +resource scores +%setenv showobj= +configure primitive p5 Dummy +configure group g1 p5 +resource manage p5 +%setenv showobj=p5 +-F resource maintenance p5 on +%setenv showobj=p5 +-F resource unmanage p5 +%setenv showobj=p5 +-F resource maintenance g1 +resource start p5 +%setenv showobj=g1 +-F resource manage g1 +resource start p5 +%setenv showobj=p5 +-F resource maintenance p5 on +%setenv showobj=g1 +-F resource maintenance g1 |