* Restconf internal start: fail early if clixon_restconf binary is not found
* If CLICON_BACKEND_RESTCONF_PROCESS is true
This commit is contained in:
parent
980718178a
commit
8352e25860
5 changed files with 31 additions and 8 deletions
|
|
@ -147,7 +147,7 @@ fi
|
|||
#: ${OPENCONFIG=$(pwd)/public} # just skip if not set
|
||||
|
||||
# Standard IETF RFC yang files.
|
||||
: ${IETFRFC=../yang/standard}
|
||||
: ${IETFRFC=../yang/mandatory}
|
||||
|
||||
# Some restconf tests can run IPv6, but its complicated because:
|
||||
# - docker by default does not run IPv6
|
||||
|
|
|
|||
|
|
@ -485,6 +485,9 @@ new "kill restconf"
|
|||
sleep $DEMSLEEP
|
||||
stop_restconf
|
||||
|
||||
new "Start backend with wrong restconf bindir"
|
||||
expectpart "$(sudo $clixon_backend -Fs init -f $cfg -l o -o CLICON_RESTCONF_INSTALLDIR=/usr/local/xxxx)" 255 "FATAL: /usr/local/xxxx/clixon_restconf" "No such file or directory"
|
||||
|
||||
new "endtest"
|
||||
endtest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue