* Restconf internal start: fail early if clixon_restconf binary is not found

* If CLICON_BACKEND_RESTCONF_PROCESS is true
This commit is contained in:
Olof hagsand 2021-08-17 10:08:04 +02:00
parent 980718178a
commit 8352e25860
5 changed files with 31 additions and 8 deletions

View file

@ -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