revise testing: change expectfn -> extectpart etc
This commit is contained in:
parent
96ab7292b9
commit
41e23865a1
23 changed files with 186 additions and 241 deletions
|
|
@ -157,7 +157,7 @@ done } 2>&1 | awk '/real/ {print $2}'
|
|||
if false; then
|
||||
# CLI get
|
||||
new "cli get test single req"
|
||||
expectfn "$clixon_cli -1 -1f $cfg -l o show state xml interfaces a foo b interface e1" 0 '^<interface>
|
||||
expectpart "$($clixon_cli -1 -1f $cfg -l o show state xml interfaces a foo b interface e1)" 0 '^<interface>
|
||||
<name>e1</name>
|
||||
<type>eth</type>
|
||||
<status>up</status>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue