Skip to content

Commit

Permalink
Dev: testcase: update testcases for 'crm configure show changed'
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Dec 10, 2019
1 parent 1b6f4d4 commit 1f62d18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions test/testcases/commit
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ commit
filter "sed '/g1/s/p1/d1/'"
group g2 d3 d2
delete d2
show changed
commit
_test
verify
Expand Down
10 changes: 7 additions & 3 deletions test/testcases/commit.exp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ INFO: 24: modified colocation:cl1 from c1 to g1
.INP: filter "sed '/g1/s/p1/d1/'"
.INP: group g2 d3 d2
.INP: delete d2
.INP: show changed
primitive d2 Dummy
group g1 d1 p2
group g2 d3
.INP: commit
.INP: _test
.INP: verify
WARNING: 35: st: unknown attribute 'yoyo-meta'
WARNING: 36: st: unknown attribute 'yoyo-meta'
.INP: show
node node1 \
attributes mem=16G
Expand All @@ -70,5 +74,5 @@ order o1 inf: p3 g1
op_defaults op-options: \
timeout=2m
.INP: commit
INFO: 37: apparently there is nothing to commit
INFO: 37: try changing something first
INFO: 38: apparently there is nothing to commit
INFO: 38: try changing something first

0 comments on commit 1f62d18

Please sign in to comment.