SNMP frontend test changes
Added a CS variable, set to 0 if you started clixon_snmp yourself (eg in gdb) Also added BE (backend) with the same purpose for backend
This commit is contained in:
parent
f9d2acf025
commit
214b7cc0c7
1 changed files with 9 additions and 0 deletions
|
|
@ -73,6 +73,9 @@ testname=
|
||||||
# eg logging to a file: RCLOG="-l f/www-data/restconf.log"
|
# eg logging to a file: RCLOG="-l f/www-data/restconf.log"
|
||||||
: ${RCLOG:=}
|
: ${RCLOG:=}
|
||||||
|
|
||||||
|
# If set to 0, override starting of clixon_snmp in test (you bring your own)
|
||||||
|
: ${CS:=1}
|
||||||
|
|
||||||
# Namespace: netconf base
|
# Namespace: netconf base
|
||||||
BASENS='urn:ietf:params:xml:ns:netconf:base:1.0'
|
BASENS='urn:ietf:params:xml:ns:netconf:base:1.0'
|
||||||
|
|
||||||
|
|
@ -594,6 +597,12 @@ function wait_restconf_stopped(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# need a better way to detect liveness of clixon_snmp
|
||||||
|
function wait_snmp()
|
||||||
|
{
|
||||||
|
sleep 3
|
||||||
|
}
|
||||||
|
|
||||||
# End of test, final tests before normal exit of test
|
# End of test, final tests before normal exit of test
|
||||||
# Note this is a single test started by new, not a total test suite
|
# Note this is a single test started by new, not a total test suite
|
||||||
function endtest()
|
function endtest()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue