travis test wait
This commit is contained in:
parent
cdc851e5ce
commit
cb10d4b552
1 changed files with 3 additions and 1 deletions
|
|
@ -289,8 +289,10 @@ wait_backend(){
|
|||
reply=$(echo '<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"><ping xmlns="http://clicon.org/lib"/></rpc>]]>]]>' | $clixon_netconf -qef $cfg 2> /dev/null)
|
||||
let i=0;
|
||||
while [[ $reply != "<rpc-reply"* ]]; do
|
||||
echo "sleep $DEMSLEEP"
|
||||
sleep $DEMSLEEP
|
||||
reply=$(echo '<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101" xmlns="http://clicon.org/lib"><ping/></rpc>]]>]]>' | clixon_netconf -qef $cfg 2> /dev/null)
|
||||
reply=$(echo '<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101" xmlns="http://clicon.org/lib"><ping/></rpc>]]>]]>' | clixon_netconf -qef $cfg )
|
||||
echo "reply:$reply"
|
||||
let i++;
|
||||
echo "wait_backend $i"
|
||||
if [ $i -ge $DEMLOOP ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue